Hi Johannes,

Now, all my thread linkage works quite fine: I solved the problem by
installing SuSE 6.0 new from scratch, i.e. I "formatted" first the disk
and then installed it once more. Obviously I damaged something when I
processed the Upgrades from 5.1 -> 5.3 -> 6.0. But who cares. Now it
works fine: It might be possible that something with the libc.so.6
failed....

Another question: Does someone know how to handle different timers in a
multithreaded program ?
I program a strange server receiving UDP packets and buffering them.
At a certain point of time a so called processor must compare and match
all the packets against each other. The intervall between these
processings should be about one second. Not to waste processing time I
intended to implement a call to nanosleep(). This works with only one
timed thread. But after the processing (ca. 0.5sec later) another thread
must be started. There the call to nanosleep() fails, as only one timer
can be installed in a program -- if I am not wrong.

I know I could implement the different synchronizations using
pthread_cond_wait()-mechanisms. But so I would lack the correctness in
time.
I'm sure no to be the first child programming a multithreaded
application that makes use of nearly the same given problem. 
If anyone can give me a usefull hint, I would appreciate that.

Thanks in advance.

Lukas
--
        *** ALWAYS MAILTO: "Lukas Ruf <[EMAIL PROTECTED]>" ***
Lukas Ruf // Neugutstr. 9 // 8002 Zurich // Switzerland // +41-1-2813545
    (PGP2.6.3) Fingerprint = 37CF 3AB4 B0F7 0AF5 C308 4188 8C10 86FE

--
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archive at http://www.suse.com/Mailinglists/suse-linux-e/index.html

Reply via email to