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
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