Message16498
Logged In: YES
user_id=119306
I was handwaving a bit over the "arrangements" to make with the
siglongjump. It is probable that blocking SIGINT from all spawned
threads will be the easiest. It will also work in both the pthreads and
LWP case (signal sent to one unblocked thread in the process) and the
LinuxThreads and SGI threads case (signal broadcast to the process
group, which includes each thread individually.) The only thing I wanted
to double check was whether readline could be executed by any thread
other than the main thread. If so, the SIGINT handler needs to check not
whether it is the main thread, but rather if it is the (or *a*?) thread that
currently is in the middle of a readline call. |
|
Date |
User |
Action |
Args |
2007-08-23 14:14:05 | admin | link | issue756924 messages |
2007-08-23 14:14:05 | admin | create | |
|