Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: Alarm In Perl

by meena (Novice)
on Jul 25, 2013 at 12:16 UTC ( [id://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

Replies are listed 'Best First'.
Re^4: Alarm In Perl
by BrowserUk (Patriarch) 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 (Bishop) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1046326]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (7)
As of 2024-03-19 03:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found