Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^5: OT: Locking and syncing mechanisms available on *nix.

by nikosv (Hermit)
on Mar 27, 2011 at 14:47 UTC ( #895752=note: print w/ replies, xml ) Need Help??


in reply to Re^4: OT: Locking and syncing mechanisms available on *nix.
in thread OT: Locking and syncing mechanisms available on *nix.

Events can be achieved with a combination of conditional variables and a mutex. Check pthread_cond_timedwait()(search for it inside the page)


Comment on Re^5: OT: Locking and syncing mechanisms available on *nix.
Replies are listed 'Best First'.
Re^6: OT: Locking and syncing mechanisms available on *nix.
by BrowserUk (Pope) on Mar 27, 2011 at 15:15 UTC

    I know, but as I don't have anything I want to mutually exclude access to, I don't want to use the (by all accounts very expensive) mutex mechanism.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://895752]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2015-07-31 04:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls