From: Frederic B. <fre...@ya...> - 2012-04-23 14:42:15
|
Hello all, I hope my question won't be out of scope... I'm evaluating the mtcp module (no need to checkpoint distributed processes for the time being) and I have an execution error with the basic example provided : testmtcp2.c To search for the stupid thing I might have done, I've simplified this file. I'm starting only 1 thread and wait 5 seconds before doing a checkpoint. The problem I encounter at checkpoint time is that "tgkill" function called to stop threads before the checkpoint returns -1 with errno set to ESRCH for the 2nd thread (not the main task). I do not understand how it can happen as the thread exists and is running (and still runs after checkpoint). Did I miss a limitation ? (I'm really not fluent in assembly, I can't give you more details about INLINE_SYSCALL behavior). My configuration : Redhat 6.2 (32b) gcc version 4.4.6 Thanks, Fred |