summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/src/psignal.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-07-22Remove, moved to cpukit.Ralf Corsepius1-250/+0
2002-07-012002-07-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-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-082002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-0/+1
* src/psignal.c: Include <stdlib.h>.
2002-01-062002-02-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-0/+1
* configure.ac: AC_CONFIG_SRCDIR([src/pthreads.c]) * src/psignal.c: #include <string.h>.
2001-01-242001-01-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-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-312000-10-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-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-302000-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-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.
1999-11-02Split some more stuff out of psignal.c.Joel Sherrill1-235/+1
1999-11-01Removed routines that had already been separated into their own files.Joel Sherrill1-505/+0
1999-04-19The default action for real-time signals is supposed to be SIGACTION_TERMINATE.Joel Sherrill1-15/+15
Jiri Gaisler caught this and submitted a patch but a subsequent patch backed it out accidentally.
1999-04-15Removed alarm(), killinfo() and pause() because they are now in their own file.Joel Sherrill1-372/+1
1999-04-12Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to correct theJoel Sherrill1-30/+929
--enable-tests problem a better way.
1999-03-01Part of the automake VI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill1-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).
1999-02-10POSIX timer support.Joel Sherrill1-1/+1
1999-01-31Split psignal.c into many more files. This reduced the amount ofJoel Sherrill1-918/+12
object code that has to be loaded just for initializing the signal manager.
1998-11-23Added base version of file system infrastructure. This includes a majorJoel Sherrill1-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.
1998-11-19Patch from Eric Norum <eric@skatter.usask.ca>:Joel Sherrill1-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.
1998-04-27Moved POSIX_signals_Siginfo_node structure definition to headers/psignal.hJoel Sherrill1-5/+1
so confdefs.h could see it.
1996-09-17Added code to insure that the post switch extension was executed andJoel Sherrill1-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.
1996-08-19Changed all EFAULTs to EINVALsMark Johannes1-7/+14
1996-08-15pthread_kill: fixed the move of SIG_IGN not SA_SIGINFOMark Johannes1-4/+6
1996-08-15pthread_kill: moved check for SA_SIGINFO to allow for validation of allMark Johannes1-7/+7
parameters. Also changed returns to macro of -1 and errno set.
1996-08-13deleted a line for spacing correctionJoel Sherrill1-1/+0
1996-08-08_POSIX_signals_Clear_signals: added this routineMark Johannes1-12/+36
_POSIX_signals_Get_highest: changed initial starting signal to SIGHUP, still needs SIGFIRSTNOTRT
1996-07-15Fixed default vectors initialization, sigaction which had a redundantMark Johannes1-42/+64
if clause for DFT action.
1996-06-15initial modifications to support sigtimedwait.Joel Sherrill1-9/+30
1996-06-13sigtimedwait passes initial test cases of timeout and simple satisfaction.Mark Johannes1-1/+5
1996-06-13added queued signals and cleaned up setting of process wide signals soJoel Sherrill1-68/+148
it occurs in only one place.
1996-06-13basic test cases for kill() and alarm().Joel Sherrill1-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.
1996-06-12basic kill() which send a signal to pthread_self() appears to work.Joel Sherrill1-7/+18
1996-06-12initial implementation of blocking signal routines -- sigwait, sigwaitinfo,Joel Sherrill1-34/+227
sigtimedwait, sigsuspend, and pause.
1996-06-11added comment to make sure we add unblock of threadJoel Sherrill1-0/+2
1996-06-11first attempt at adding algorithm to select the thread which willJoel Sherrill1-23/+246
receive a process-directed signal.
1996-06-11tested blocking a signal, sending it to self, then unblocking it.Joel Sherrill1-31/+60
make minimum stack size for posix threads double that of the cpu's minimum requirement.
1996-06-11Basic signal functionality appears to work. pthread_kill() can successfullyJoel Sherrill1-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.
1996-06-10first attempt at the routine which vectors signals.Joel Sherrill1-11/+325
1996-06-07key destructor is now run at correct point in pthread_exit() sequence andJoel Sherrill1-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().
1996-05-31added checks to validate values passed to set attribute routinesJoel Sherrill1-0/+6
1996-05-31moved sleep() from psignal.c to unistd.cJoel Sherrill1-23/+51
implemented sigemptyset() sigfillset(), sigaddset(), sigdelset(), and sigismember(). added checks for valid attribute values to some of the pthread_attr_t sets.
1996-05-30First cut at implementing time, clock_gettime, clock_settime, clock_getres,Joel Sherrill1-11/+7
sleep, and nanosleep. Does not yet support per process clock, per thread clock, interruptible sleep (sleep/nanosleep), or time remaining on nanosleep.
1996-05-29comment clean upJoel Sherrill1-2/+1
1996-05-29types.c: spacingJoel Sherrill1-0/+4
psignal.c: kill recognizes SIGABRT and exits to prevent asserts from recursively occurring because kill was not implemented and asserted.
1996-05-29removed all ifdef's on NOT_IMPLEMENTED.Joel Sherrill1-4/+0
1996-05-22These files have been modified in the initial pass at getting the portionJoel Sherrill1-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.
1996-05-10fixed typoJoel Sherrill1-1/+1
1995-12-01Insert mode argument to _Watchdog_Insert removed. Now are watchdog timersJoel Sherrill1-5/+1
are automatically activated upon insertion.
1995-10-06fixed missing CVS IDsJoel Sherrill1-0/+1
1995-09-26posix support initially addedJoel Sherrill1-0/+261