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
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
want
2 matches
Mail list logo