C+Socket+threads - Send message to all clients5204 (6/25/2008 11:35:52 AM) comp.unix.programmer Then, I have one client and one server connected trough TCP socket. When server is listening, client can establish new connection to it. Every time that new client try to start the connection, the server use p... mariano.calandra(49)
crashed unix process461 (7/10/2008 4:34:56 AM) comp.unix.programmer what system calls are invoked and what signals are generated when a program crashes (like, crashing because of accessing a NULL pointer).I am trying to understand the things that happen at OS level and at the p... sinbad.sinbad(155)
killing process on AIX2155 (7/10/2008 9:01:06 PM) comp.unix.programmer In linux you have killall which is designed to let you kill a process running by name. What is the equivalent to that under AIX? Thanks. -- Henrik ... hg703(43)
Pls sanity check: semtimedop(2) for FreeBSD347 (7/12/2008 9:52:20 PM) comp.unix.programmer Hi, Below is a semtimedop(2) implementation that I'm using for FreeBSD. I was hoping someone could look it over and tell me if they think the implementation is sound. The code seems to work ok but when stress... miallen(12)
signal race2444 (8/8/2008 11:46:46 AM) comp.unix.programmer Hi, I'm trying to figure out how I can prevent a certain kind of race condition. There are two things to do: 1) open a file 2) wait for a child process Both can block infinitely, because the open might be a ... thomas914(67)
Why isn't SIGKILL sent to the whole process group?656 (10/7/2008 10:54:46 AM) comp.unix.programmer Hi Can someone explain why under linux if I kill a parent process with say SIGTERM this signal is sent to the whole process group of that process (ie any child processes its created as long as they haven't use... boltar2003(256)
Number of Processes? #2522 (1/8/2009 6:05:27 PM) comp.programming How many processes are created in following program? int main() { fork(); fork() && fork() || fork(); fork(); return 0; } ... c.lang.myself(94)
Thread starvation with pthreads in Linux?1142 (1/27/2009 5:43:53 PM) comp.unix.programmer I ran into a strange situation using pthreads in Linux 2.6. I was developing a C++ class which contained an array of queues, designed for a multi-threaded environment. In order to maximize concurrency, I deci... chsalvia(83)
lockfiles versus other synchronization mechanisms3361 (4/10/2009 3:50:28 PM) comp.unix.programmer I've been doing a bit of reading about different mechanisms for guaranteeing one-at-a-time access to shared resources on UNIX/Linux, specifically by multiple processes as opposed to multiple threads. It seems ... blmblm(1187)