Are calls to suspend and resume ref counted? iow, if i do this in
pseudo-code:
thread-suspend();
thread-suspend();
thread-resume();
// thread is still suspended
thread-resume();
// now thread runs
is that the way it works for pthreads?
elrod
Jim Carlson sez:
Are calls to suspend and resume ref counted? iow, if i do this in
pseudo-code:
No. It just does a SIGSTOP and SIGCONT for suspend and resume. The
first resume after N=1 suspends will cause the task to restart.
is that the way it works for pthreads?
Pthreads doesn't really
On 20-Sep-99 [EMAIL PROTECTED] wrote:
I agree with you, but it even gets worse than that. Let me elaborate.
The signal handling under LinuxThreads is different from the signal
handling under POSIX threads for one. And, as far as I can tell, the
signal handling is cooperative, and the current
I can compile it, but can't run. I get this:
flocsy@crux:~/work/freeamp/freeamp15$ ./freeamp
/mp3/Ellenorzott/D/Dragana\ -\ Up\ And\ Down.mp3
/home/flocsy/work/freeamp/freeamp/plugins/freeampcmd.ui: undefined symbol:
SetFirst__15PlayListManager
make clean; make.
If your system can handle
Well, I think I'm getting closer to finding what's causing the
Solaris strangeness; for one, it appears that sometimes the LWP
or Reader gets stuck, and so WasteTime() gets called an awful
lot. A side effect seems to be the creation of several hundred
threads. :)
(gdb) info threads
640 Thread
in freeamp we are going to support http/1.1 downloading. i would rather
not reimplement this from scratch. anyone have a nice lib they can point
me too?
elrod