summaryrefslogtreecommitdiffstats
path: root/cpukit/posix (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Removed unused variable warning.Joel Sherrill2000-01-141-1/+0
|
* Removed no prototype of kill() warning.Joel Sherrill2000-01-141-0/+2
|
* POSIX message queues now include complete functionality includingJoel Sherrill2000-01-131-2/+0
| | | | | | | | | | | | | | | | blocking sends when the queue is full. The SuperCore was enhanced to support blocking on send. The existing POSIX API was debugged and numerous test cases were added to psxmsgq01 by Jennifer Averett. SuperCore enhancements and resulting modifications to other APIs were done by Joel. There is one significant point of interpretation for the POSIX API. What happens to threads already blocked on a message queue when the mode of that same message queue is changed from blocking to non-blocking? We decided to unblock all waiting tasks with an EAGAIN error just as if a non-blocking version of the same operation had returned unsatisfied. This case is not discussed in the POSIX standard and other implementations may have chosen differently.
* + Comment cleanupJennifer Averett2000-01-134-15/+12
|
* Removed referance to rtems error.Jennifer Averett2000-01-131-1/+2
| | | | Added correct include file.
* Debugged and yellow line tested routines.Jennifer Averett2000-01-123-41/+71
|
* + Modified return codesJennifer Averett2000-01-121-16/+27
| | | | | + Added messsage size check + Debugged and yellowed out routine
* + Added signal processing.Jennifer Averett2000-01-121-1/+3
| | | | + Yellow line tested source.
* + Modified to correct return codes.Jennifer Averett2000-01-121-2/+5
| | | | | + Removed extra flag attribute from message queue structure. + Yellow-lined all posix message queue routines.
* + Changed call from core flush to core close routine. This flushes waitingJennifer Averett2000-01-121-2/+4
| | | | queues as well as the messages.
* + Removed name validation code (this was already done in nametoid.Jennifer Averett2000-01-121-41/+6
|
* Fixed spacing.Joel Sherrill2000-01-111-1/+1
|
* This code did not return properly when a process oriented signalJoel Sherrill2000-01-111-6/+5
| | | | was pending. Reported by Wayne Bullaughey <wayneb@cacdsp.com>.
* Don't look at the object information structure for threads/tasksJoel Sherrill2000-01-102-17/+28
| | | | | for APIs that are not configured. This resulted in weird behavior when ITRON was disabled on some targets.
* Added support for simple binary semaphores in addition to the highJoel Sherrill2000-01-051-1/+5
| | | | | | | | | | | | power binary/mutex style semaphores already supported by RTEMS. This was done at the request of Eric Norum <eric@cls.usask.ca> in support of his effort to port EPICS to RTEMS. This change consisted of changing the nesting_allowed boolean into a lock_nesting_behavior enumerated value as well as allowing the core mutex object to optionally support ensuring that the holder of a binary semaphore released it. Finally, a more subtle enhancement was to allow the non-holder to release a priority inheritance/ceiling mutex and still allow the holding task to return to its original priority.
* Added priority conversion between POSIX and core.Jennifer Averett2000-01-051-2/+17
|
* Added priority conversion between POSIX and core priorities.Jennifer Averett2000-01-051-2/+29
|
* + Changed priority to the POSIX priority type.Jennifer Averett2000-01-051-9/+46
| | | | | | | + Added priority validation + Changed to call correct core routine. + Added priority conversion + Resolved return type problems.
* + Added check for reading from a write only queue.Jennifer Averett2000-01-051-1/+12
| | | | + Added ability to return message priority from the core.
* + Added check for name greater than PATH_MAX.Jennifer Averett2000-01-051-0/+3
|
* + Changed to resonable default values for maxmsg and msgsize.Jennifer Averett2000-01-051-3/+11
| | | | + Added oflag tracking.
* Added mqueuetranslatereturncode.c.Jennifer Averett2000-01-051-1/+1
|
* Added routines to translate to and from the core message queue return codes.Jennifer Averett2000-01-051-0/+68
|
* Added this file to contain an example program.Joel Sherrill2000-01-041-0/+27
|
* Removed warnings.Joel Sherrill2000-01-042-4/+4
|
* + Added routine to remove from namespace.Jennifer Averett1999-12-231-0/+13
|
* + Added check for name greater than PATH_MAXJennifer Averett1999-12-231-0/+14
|
* + Debugged.Jennifer Averett1999-12-232-40/+61
|
* + Filled in routine.Jennifer Averett1999-12-231-1/+15
|
* + Initial debugJennifer Averett1999-12-231-0/+6
|
* + Made workJennifer Averett1999-12-231-15/+55
| | | | | + Added checks for valid attribute maxmsg and msgsize + Added check for ENAMETOOLONG
* + Fixed errno response to match the POSIX manual.Jennifer Averett1999-12-231-1/+1
|
* Patch rtems-rc-19991123-rc-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1999-11-292-7/+20
| | | | | | | | | | | | | | | | | | | | | | | which (among other things) converted the mptests to automake. SUB_DIRS was used instead of SUBDIRS in some Makefile.ins (apparently a leftover from moving the start* directories) Addtional major bugs: * psxtests/include was empty (incomplete psxtests changes). * bogus handling of *.scn in itrontests (screens/sptests vs. screens/itrontests installation dirs) In addition I have added a few more changes (I couldn't resist) * automake support for itrontests * OPERATION_COUNT support in tmitrontests/ * automake support for tmitrontests * automake suppport for mptests * Some (minor) corrections to several configure.in/Makefile.ams => c/src/tests/ is completly under automake control, now. => we could start to sort out the structural issues with c/src/tests (tests/support, stubdr, tools, get "make dist" working)
* Made sure POSIX would build with MP enabled.Joel Sherrill1999-11-297-10/+127
|
* Patch rtems-rc-19991117-11.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1999-11-233-3/+113
| | | | | to convert the libc directory to automake and "dozens of small fixes for Makefile.ins/configure.ins below c/src/lib."
* Fixed dispatching and cleaned up code.Jennifer Averett1999-11-222-30/+14
|
* + Corrected enable/disable of dispatch.Jennifer Averett1999-11-221-23/+31
| | | | + Cleaned up code.
* + Updated comments.Jennifer Averett1999-11-221-9/+20
| | | | + Corrected enable/disable of dispatch.
* + Corrected bug in error check.Jennifer Averett1999-11-221-2/+1
|
* + Added description of routine to comment.Jennifer Averett1999-11-221-0/+4
|
* + Corrected error processing code.Jennifer Averett1999-11-221-14/+15
|
* + Added checks for NULL and NULL string names (for sem_open & sem_unlink).Jennifer Averett1999-11-221-1/+7
|
* + Cleaned up comments.Jennifer Averett1999-11-221-6/+16
|
* Patch rtems-rc-19991117-4.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill1999-11-221-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | .. a major configuration cleanup ... major enhancement of automake support. ... and it contains a *major* breakthough: Automake support for libchip and libmisc *LEAF* directories. To implement this I have used several nasty tricks * The basical trick is to wrap an old Makefile.in's contents into a Makefile.am and still continue to use (i.e include) the old *.cfg files. * Replaced each INSTALL_IF_CHANGE and INSTALL_VARIANT with make dependencies * Add a gnu-make ifdef AUTOMAKE to main.cfg to avoid conflicts between automake and RTEMS make rules * Replaced each install:: and preinstall:: rule with make dependencies * Replaced SUB_DIRS with SUBDIRS in all Makefile.ins (Automake convention) * Removed each manually added autoconf substitution which automake performs automatically. This is not yet full automake support, because using the temporary installation directory, preinstallation in general and building variants are in contradiction to automake's basic working principles ... ... the new Makefile.ams work still somewhat clumsy ... nevertheless they work (quite well). WARNING: At first glance this patch is small, but * it affects the whole configuration system. * it opens the road to introducing automake to all Makefile.ins currently not being under automake control. JOEL> Does this remove or add any files? Both, all Makefile.ins below libchip and libmisc get replaced with Makefile.ams.
* Added EINVAL for passing a NULL pointer in.Jennifer Averett1999-11-181-0/+4
|
* + Debuged to the point that you could open, unlink and close a semaphore.Jennifer Averett1999-11-184-30/+29
| | | | but all paths have not been checked, yet.
* Added a routine to remove a semaphore name from its namespace.Jennifer Averett1999-11-181-0/+15
|
* Updated copyright notice.Joel Sherrill1999-11-1769-138/+69
|
* Return a reasonable error other than ENOSYS.Joel Sherrill1999-11-161-1/+1
|
* Added call to _Watchdog_Remove to remove the sporadic timer. It wasJoel Sherrill1999-11-161-0/+1
| | | | being reinserted onto the ticks chain.