Re: memcpy and multithreading

2003-01-28 Thread Dan Nelson
In the last episode (Jan 29), Murat Balaban said: > Are there any issues that i should now about memcpy and > multithreading in FreeBSD? I've got a code which reads: > > memcpy(&(h.req), req, sizeof(struct request)); What are the values of h and req at the time of segfault? You might wan

memcpy and multithreading

2003-01-28 Thread Murat Balaban
Hi, Are there any issues that i should now about memcpy and multithreading in FreeBSD? I've got a code which reads: memcpy(&(h.req), req, sizeof(struct request)); and I keep getting SIGSEGV there in FreeBSD but not in Linux. PS: Of course, I protect the write operation with a mutex. P

rfork behaviour

2003-01-28 Thread samy
The rfork() man page states that RFPROC should be set as the current implementation 'requires' this flag to always be set. Well from usage and kern_fork.c (/usr/src/sys/kern/kern_fork.c) and vm_glue.c (/usr/src/sys/vm/vm_glue.c) it seems that the current implementation does not 'require' this at a

Fwd: [GE dev] FreeBSD port

2003-01-28 Thread Ron Chen
FYI, newest FreeBSD port of GridEngine. For more details about GridEngine: http://gridengine.sunsource.net/ -Ron --- Brooks Davis <[EMAIL PROTECTED]> wrote: > I've updated my port of SGE to FreeBSD (based on Ron > Chen's patch). > It's available online at: > > http://people.freebsd.org/~br