dual $SIG{ALRM} in a same program

  • Thread starter Sébastien Cottalorda
  • Start date
S

Sébastien Cottalorda

Hi all,

I use eval {} , $SIG{ALRM} and alarm to timeout some part of a
program.

This program uses the IPC::Shareable program too.

Included in a real-time project, this program need to share some share
memory segments with another process.

My problem is the following:
As this program is a real-time one, it cannot wait a too long time to
obtain the lock on a segment (with _tie or shlock).

That's why I nned to timeout too this lock.

Will I get problem using in a program eval, $SIG{ALRM} *and* in a
module the same mechanism ?

Thaks in advance for your help.

Sebastien
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,202
Messages
2,571,057
Members
47,661
Latest member
FloridaHan

Latest Threads

Top