summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/src/psignal.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove, moved to cpukit.Ralf Corsepius2002-07-221-250/+0
|
* 2002-07-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-07-011-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | * Mega patch merge to change the format of the object IDs to loosen the dependency between the SCORE and the various APIs. There was considerable work to simplify the object name management and it appears that the name_table field is no longer needed. This patch also includes the addition of the internal mutex which is currently only used to protect some types of allocation and deallocation. This significantly can reduce context switch latency under certain circumstances. In particular, some heap/region operations were O(n) and had dispatching disabled. This should help enormously. With this merge, the patch is not as clean as it should be. In particular, the documentation has not been modified to reflect the new object ID layout, the IDs in the test screens are not updated, and _Objects_Get_information needs to be a real routine not inlined. As part of this patch a lot of MP code for thread/proxy blocking was made conditional and cleaned up. * include/rtems/posix/key.h, src/cond.c, src/condinit.c, src/intr.c, src/key.c, src/keycreate.c, src/keydelete.c, src/killinfo.c, src/mqueue.c, src/mqueuecreatesupp.c, src/mutex.c, src/mutexinit.c, src/psignal.c, src/pthread.c, src/semaphore.c, src/semaphorecreatesupp.c: Modified as part of above.
* 2002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-081-0/+1
| | | | * src/psignal.c: Include <stdlib.h>.
* 2002-02-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-01-061-0/+1
| | | | | * configure.ac: AC_CONFIG_SRCDIR([src/pthreads.c]) * src/psignal.c: #include <string.h>.
* 2001-01-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-01-241-0/+4
| | | | | | | * configure.in: Add src/config.h * src/Makefile.am: Add INCLUDES += -I. to pickup config.h * src/.cvsignore: Add config.h and stamp-h * src/*.c: Add config.h support.
* 2000-10-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-311-1/+1
| | | | | | | | | | | | | | | | | | | * include/Makefile.am: Updated to reflect files merged into newlib. This resulted in some definitions moving to other files and thus some secondary effects in RTEMS source code. * include/unistd.h: Removed. Now use newlib's. * include/rtems/posix/mqueue.h: Add include of <signal.h>. * include/rtems/posix/threadsup.h: Add include of <sys/signal.h> * src/execv.c: Corrected prototype to agree with newlib. * src/execve.c: Corrected prototype to agree with newlib. * src/execvp.c: Corrected prototype to agree with newlib. * src/psignal.c: Rewrote reference to <siginfo.h> in comment since that file no longer exists. * src/pthreadkill.c: Added include of <signal.h>. * src/sigaction.c: Added include of <signal.h>. * src/sigtimedwait.c: Rewrote reference to <siginfo.h> in comment since that file no longer exists. *
* 2000-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-08-301-1/+1
| | | | | | * Many files: Moved posix/include/rtems/posix/seterr.h to score/include/rtems/seterr.h so it would be available within all APIs.
* Split some more stuff out of psignal.c.Joel Sherrill1999-11-021-235/+1
|
* Removed routines that had already been separated into their own files.Joel Sherrill1999-11-011-505/+0
|
* The default action for real-time signals is supposed to be SIGACTION_TERMINATE.Joel Sherrill1999-04-191-15/+15
| | | | | Jiri Gaisler caught this and submitted a patch but a subsequent patch backed it out accidentally.
* Removed alarm(), killinfo() and pause() because they are now in their own file.Joel Sherrill1999-04-151-372/+1
|
* Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to correct theJoel Sherrill1999-04-121-30/+929
| | | | --enable-tests problem a better way.
* Part of the automake VI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill1999-03-011-17/+17
| | | | | | | | | | | | | | | | > 5) rtems-rc-19990202-1.diff/reorg-install.sh > > reorg-install.sh fixes a Makefile variable name clash of RTEMS > configuration files and automake/autoconf standards. > Until now, RTEMS used $(INSTALL) for install-if-change. Automake and > autoconf use $(INSTALL) for a bsd-compatible install. As > install-if-change and bsd-install are not compatible, I renamed all > references to install-if-changed to $(INSTALL_CHANGED) and used > $(INSTALL) for bsd-install (==automake/autoconf standard). When > automake will be introduced install-if-change will probably be replaced > by $(INSTALL) and therefore will slowly vanish. For the moment, this > patch fixes a very nasty problem which prevents adding any automake file > until now (There are still more).
* POSIX timer support.Joel Sherrill1999-02-101-1/+1
|
* Split psignal.c into many more files. This reduced the amount ofJoel Sherrill1999-01-311-918/+12
| | | | | object code that has to be loaded just for initializing the signal manager.
* Added base version of file system infrastructure. This includes a majorJoel Sherrill1998-11-231-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | overhaul of the RTEMS system call interface. This base file system is the "In-Memory File System" aka IMFS. The design and implementation was done by the following people: + Joel Sherrill (joel@OARcorp.com) + Jennifer Averett (jennifer@OARcorp.com) + Steve "Mr Mount" Salitasc (salitasc@OARcorp.com) + Kerwin Wade (wade@OARcorp.com) PROBLEMS ======== + It is VERY likely that merging this will break the UNIX port. This can/will be fixed. + There is likely some reentrancy/mutual exclusion needed. + Eventually, there should be a "mini-IMFS" description table to eliminate links, symlinks, etc to save memory. All you need to have "classic RTEMS" functionality is technically directories and device IO. All the rest could be left out to save memory.
* Patch from Eric Norum <eric@skatter.usask.ca>:Joel Sherrill1998-11-191-1/+1
| | | | | | | | | | | | | | | 1) Socket timeout field changed from `short' to `long'. This makes longer timeouts possible. With a 1 kHz system clock the old system allowed timeouts only up to a little over 30 seconds! This change is a slightly cleaned-up version of the patch proposed by Ian Lance Taylor. 2) Major changes to BOOTP/DHCP reply handling. Now supports much of RFC2132. These changes were done at the request of, and with the assistance of, Erik Ivanenko. If you're making changes, you might want to change the network supplement Essentially just do a global search and replace of BOOTP with BOOTP/DHCP.
* Moved POSIX_signals_Siginfo_node structure definition to headers/psignal.hJoel Sherrill1998-04-271-5/+1
| | | | so confdefs.h could see it.
* Added code to insure that the post switch extension was executed andJoel Sherrill1996-09-171-0/+5
| | | | | | to made signals sent to a particular thread from an ISR operated correctly. This behavior was required by the exception detection/reporting code in the gnat runtime.
* Changed all EFAULTs to EINVALsMark Johannes1996-08-191-7/+14
|
* pthread_kill: fixed the move of SIG_IGN not SA_SIGINFOMark Johannes1996-08-151-4/+6
|
* pthread_kill: moved check for SA_SIGINFO to allow for validation of allMark Johannes1996-08-151-7/+7
| | | | parameters. Also changed returns to macro of -1 and errno set.
* deleted a line for spacing correctionJoel Sherrill1996-08-131-1/+0
|
* _POSIX_signals_Clear_signals: added this routineMark Johannes1996-08-081-12/+36
| | | | _POSIX_signals_Get_highest: changed initial starting signal to SIGHUP, still needs SIGFIRSTNOTRT
* Fixed default vectors initialization, sigaction which had a redundantMark Johannes1996-07-151-42/+64
| | | | if clause for DFT action.
* initial modifications to support sigtimedwait.Joel Sherrill1996-06-151-9/+30
|
* sigtimedwait passes initial test cases of timeout and simple satisfaction.Mark Johannes1996-06-131-1/+5
|
* added queued signals and cleaned up setting of process wide signals soJoel Sherrill1996-06-131-68/+148
| | | | it occurs in only one place.
* basic test cases for kill() and alarm().Joel Sherrill1996-06-131-11/+50
| | | | | kill() in particular needs more test cases for full coverage. The search for a thread interested in this signal has a lot of paths.
* basic kill() which send a signal to pthread_self() appears to work.Joel Sherrill1996-06-121-7/+18
|
* initial implementation of blocking signal routines -- sigwait, sigwaitinfo,Joel Sherrill1996-06-121-34/+227
| | | | sigtimedwait, sigsuspend, and pause.
* added comment to make sure we add unblock of threadJoel Sherrill1996-06-111-0/+2
|
* first attempt at adding algorithm to select the thread which willJoel Sherrill1996-06-111-23/+246
| | | | receive a process-directed signal.
* tested blocking a signal, sending it to self, then unblocking it.Joel Sherrill1996-06-111-31/+60
| | | | | make minimum stack size for posix threads double that of the cpu's minimum requirement.
* Basic signal functionality appears to work. pthread_kill() can successfullyJoel Sherrill1996-06-111-7/+25
| | | | | | | send signals to the current thread or to another blocked thread. nanosleep() can be interrupted by a signal and return the time remaining. Post switch extension added to dispatch posix signal handlers.
* first attempt at the routine which vectors signals.Joel Sherrill1996-06-101-11/+325
|
* key destructor is now run at correct point in pthread_exit() sequence andJoel Sherrill1996-06-071-38/+104
| | | | | | | | should be correct for other apis as well. missing page numbers added on some references. initial attempt at sig_procmask() and pthread_sigmask().
* added checks to validate values passed to set attribute routinesJoel Sherrill1996-05-311-0/+6
|
* moved sleep() from psignal.c to unistd.cJoel Sherrill1996-05-311-23/+51
| | | | | | | implemented sigemptyset() sigfillset(), sigaddset(), sigdelset(), and sigismember(). added checks for valid attribute values to some of the pthread_attr_t sets.
* First cut at implementing time, clock_gettime, clock_settime, clock_getres,Joel Sherrill1996-05-301-11/+7
| | | | | sleep, and nanosleep. Does not yet support per process clock, per thread clock, interruptible sleep (sleep/nanosleep), or time remaining on nanosleep.
* comment clean upJoel Sherrill1996-05-291-2/+1
|
* types.c: spacingJoel Sherrill1996-05-291-0/+4
| | | | | psignal.c: kill recognizes SIGABRT and exits to prevent asserts from recursively occurring because kill was not implemented and asserted.
* removed all ifdef's on NOT_IMPLEMENTED.Joel Sherrill1996-05-291-4/+0
|
* These files have been modified in the initial pass at getting the portionJoel Sherrill1996-05-221-1/+2
| | | | | | of the POSIX API necessary to support the GNAT runtime to initially compile. We now have verified that the specifications for the necessary routines are correct per the POSIX standards we have.
* fixed typoJoel Sherrill1996-05-101-1/+1
|
* Insert mode argument to _Watchdog_Insert removed. Now are watchdog timersJoel Sherrill1995-12-011-5/+1
| | | | are automatically activated upon insertion.
* fixed missing CVS IDsJoel Sherrill1995-10-061-0/+1
|
* posix support initially addedJoel Sherrill1995-09-261-0/+261