signals
Synchronization primitives in the .NET Framework: which one is the good one?
I have a problem concerning the System.Threading Microsoft .NET namespace. In this namespace, many classes are defined in order to help me managing with threads.[详细]
2023-03-13 15:22 分类:问答Exclusive access to resource from multiple threads
Is there something equivalent to SIGSTOP and SICONT for threads? Am using pthreads. Thanks An edit: I am implementing a crude form of file access syncronization among threads. So if a file is already[详细]
2023-03-13 13:24 分类:问答help:wrong behavior code:client-server IPC signal handling on POSIX Message Queue UNIX C programming
in a single main() function,so need signal handling. Use Posix Message Queue IPC mechanism , can ignore the priority and other linked list message,to implement the scenario:[详细]
2023-03-13 13:15 分类:问答Catch & Ignore Signal
I\'m trying to write a program that will run a program on a remote machine using ssh and pass it SIGINT signals without killing my ssh connection. If I was running on a terminal, then this would be ea[详细]
2023-03-13 06:41 分类:问答pthread_exit in signal handler causes segmentation fault
The program below sets SIG_ALRM handler for the whole process, creates a thread, sends SIG_ALRM signal to new created thread.[详细]
2023-03-13 04:49 分类:问答how do the registers get saved when a process gets interrupted?
this has been bugging me all day. When a program sets itself up to call a function when it receives a certain interrupt, I know that the registers are pushed onto the stack when the program is interru[详细]
2023-03-13 03:32 分类:问答Inter process communication on the same machine,signal or socket,how to decide?
It 开发者_开发技巧seems to me that both signal and socket can be used for this job, how do you decide which one to use actually?Using signals for IPC is sort of inconvenient and primitive. You should[详细]
2023-03-13 00:22 分类:问答On the frequency of sighandler
I have a timer with fixed timeslice 1s, setitimer(SIGPROF, ×lice, NULL);. When I run the process with one thread, the sighandler is invoked once in one second. However, if there are two or mo[详细]
2023-03-13 00:14 分类:问答What's the problem of pause() at all?
According to this paragraph ,the following has problem: /* usr_interrupt is set开发者_Go百科 by the signal handler.*/[详细]
2023-03-12 17:45 分类:问答About the delivery of standard signals
By contrast, if multiple instances of a standard signalare delivered while that signal is currently blocked, the开发者_JAVA百科n only one[详细]
2023-03-12 14:56 分类:问答