Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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

Replies are listed 'Best First'.
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 (Abbot) 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1046326]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2018-05-23 11:49 GMT
Find Nodes?
    Voting Booth?