Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Alarm In Perl

by meena (Novice)
on Jul 25, 2013 at 12:16 UTC ( #1046326=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Alarm In Perl
in thread Alarm In Perl

I want to send a message from thread to main so that some operation can be performed in the main Eg: alarm can be set in main


Comment on Re^3: Alarm In Perl
Re^4: Alarm In Perl
by BrowserUk (Pope) on Jul 25, 2013 at 12:21 UTC

    I repeat: "You cannot" do so with alarm.

    Describe your overall purpose and maybe we can suggest another way of achieving it.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    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.
Re^4: Alarm In Perl
by hippo (Curate) on Jul 25, 2013 at 17:20 UTC

    This will depend on what precisely you mean by "message", but consider sockets or shared variables or signals as some things to investigate first.

    Perhaps see perlipc for starters.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2014-09-16 03:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (155 votes), past polls