summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix (unfollow)
Commit message (Collapse)AuthorFilesLines
1998-01-20Removed CONFIG_DIR and PROJECT_HOME directories.Joel Sherrill13-13/+13
1997-12-10Modified a lot of files to take a first cut at supporting building fromJoel Sherrill13-13/+52
any directory in the build tree. The only variable which must be set before the command "gmake" is invoked is RTEMS_BSP (e.g. RTEMS_BSP=erc32).
1997-10-08Fixed typo in the pointer to the license terms.Joel Sherrill44-88/+88
1997-10-08Removed include directory at "build" point and the link of this directoryJoel Sherrill11-11/+11
to lib/include. Went to using a PROJECT_INCLUDE variable.
1997-10-06Added _Thread_Enable_dispatch to already_timedout path on Wait_support.Joel Sherrill1-2/+3
1997-10-05If the specified time period is less than a clock tick, thenJoel Sherrill1-1/+4
it is arbitrarily assumed to be 1 clock tick.
1997-08-22Fixed infinite recursion bug in PTHREAD_MUTEX_INITIALIZER.Joel Sherrill1-10/+15
1997-08-22Added commit about missing support for condition initializer.Joel Sherrill2-0/+2
1997-07-31Added comment to indicate what the commented out C_PIECES indicated.Joel Sherrill1-2/+3
1997-07-09Changed name from entry to thread_entry to be more compatible withJoel Sherrill3-3/+3
Ada interface where entry is a keyword.
1997-04-22headers updated to reflect new style copyright notice as partJoel Sherrill44-220/+220
of switching to the modified GNU GPL.
1997-04-15Reduced number of POSIX thread priorities from 255 to 254 to avoid conflictsJoel Sherrill4-8/+20
of lowest priority with the RTEMS IDLE thread. This was causing the lowest priority GNAT Ada task to never run.
1997-04-01This set of changes is the build of what was required to convert toJoel Sherrill13-0/+423
GNU autoconf. This is the first large step in allowing an RTEMS user to perform a one-tree build (per crossgcc FAQ) including RTEMS in the build process. With this change RTEMS is configured in built in the same style as the GNU tools, yet retains the basic structure of its traditional Makefiles (ala Tony Bennett). Jiri Gaisler (jgais@wd.estec.esa.nl) deserves (and received) a big thank you for doing this. There are still issues to be resolved but as of this commit, all target which can be built on a linux host have been using a modified version of the source Jiri submitted. This source was merged and most targets built in the tree before this commit. There are some issues which remain to be resolved but they are primarily related to host OS dependencies, script issues, the use of gawk for hack_specs, and the dependence on gcc snapshots. These will be resolved.
1997-03-10created. Split getpid() from types.c to allow it to be overridden byJoel Sherrill1-0/+22
cxe1001 of the ACVC 2.0.1. This allows gnat/rtems to pass the partition tests.
1997-03-10Fixed bug where the initial detachstate was not being set properlyJoel Sherrill1-1/+1
1997-03-08Modified calls to _Thread_Change_priority to take a third argument. The newJoel Sherrill1-3/+7
argument indicates whether the task is to be placed at the head or tail of its priority fifo when it is lowering its own priority. POSIX normally follows the RTEMS API conventions but GNAT expects that all lowering of a task's priority by the task itself will result in being placed at the head of the priority FIFO. Normally, this would only occur as the result of lose of inherited priority.
1997-03-08Removed getpid from this file and made it its own file. This lets itJoel Sherrill1-10/+0
get replaced as required.
1997-03-08Added commit to indicate exepcted _Thread_Dispatch_disable_level. HopefullyJoel Sherrill1-0/+4
no one will ever get confused here again and try to enable dispatching. :(
1997-01-28Switch to using newlib's implementation of time().Joel Sherrill1-0/+3
1996-09-30changed stack size of posix initialization threads to double the minimumJoel Sherrill1-0/+3
stack size so more of acvc would pass.
1996-09-17added routine _POSIX_Timespec_subtractJoel Sherrill1-0/+31
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-09-17Corrected implementation of timed wait on condition variables. FirstJoel Sherrill1-29/+52
the timeout is given as a wall-time not an interval as was previously implemented. Second, the interpretation of ETIMEDOUT behavior was incorrect as all possible error cases needed to be checked before this error was returned. This caused problems when the wall-time specified was in the past.
1996-09-17added prototype for _POSIX_Timespec_subtractJoel Sherrill2-0/+22
1996-09-08moved PTHREAD_MINIMUM_STACK_SIZE from pthread.c to pthread.h so it would beJoel Sherrill1-1/+0
visible to other files.
1996-09-08Ada task stack size minimize is twice that for regular pthreads.Joel Sherrill1-2/+2
1996-09-08moved PTHREAD_MINIMUM_STACK_SIZE from pthread.c to here so it would beJoel Sherrill2-0/+4
visible to other files.
1996-09-05default thread attributes: default value for inheritsched changed fromJoel Sherrill1-5/+25
explicit to inherit scheduler to be consistent with FSU pthreads for gnat. _POSIX_Threads_Create_extension: now inherit signal blocked mask from creator if the new thread is a posix thread. _POSIX_Threads_Initialize_user_threads: make sure posix initialization threads start with a useful priority. If they inherit the priority of the creating thread, they will end up at the same priority as the idle thread. Since the idle thread does not yield, they will not run.
1996-09-05pthread_mutex_setprioceiling: fixed bug where returned priority wasJoel Sherrill1-1/+3
not converted from core priority to posix priority.
1996-09-05nanosleep: negative value for tv_sec is no longer an error. It nowJoel Sherrill1-4/+10
is changed into being a 0 delay.
1996-08-29new file to support GNU Ada.Joel Sherrill1-0/+28
currently the only routine in this file simply returns the minimum stack size for each thread.
1996-08-27fixed typo .. changed == to !=Joel Sherrill1-1/+1
1996-08-27check that we were passed a valid mutex and ignore errors from theJoel Sherrill1-0/+8
later pthread_mutex_lock. This makes our behavior more compatible with that of FSU pthreads.
1996-08-23pthread_create: changed EINVAL for no more threads back to EAGAINMark Johannes1-20/+21
1996-08-19Changed all EFAULTs to EINVALsMark Johannes1-7/+14
1996-08-19pthread_mutex_init: added error messages for NULL mutex and EBUSYMark Johannes1-6/+22
1996-08-15changed ENOMEM error messageMark Johannes1-1/+4
1996-08-15clock_gettime: changed assert condition to a standard error codeJoel Sherrill1-2/+3
clock_getres: now checking for a null pointer being passed in
1996-08-15sched_rr_get_interval: converted assert condition into a standard errorJoel Sherrill1-1/+5
code and added check for a NULL interval being passed in.
1996-08-15added constant to indicate there is no mutex associated with thisJoel Sherrill2-0/+14
condition variable
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-15fixed typo for NOTSUP -> ENOTSUPMark Johannes1-13/+12
1996-08-14commented of ENOTSUP until fixed in newlibMark Johannes1-0/+1
1996-08-14pthread_cond_timedwait: added error cases for abstimeMark Johannes1-0/+11
1996-08-13pthread_cond_destroy: added enable dispatch to EBUSY caseMark Johannes1-1/+3
1996-08-13pthread_codn_destroy: EBUSY case moved and uses Thread_queue_FirstMark Johannes1-3/+3
1996-08-13pthread_cond_destroy: EBUSY case now uses Thread_queue_FirstMark Johannes1-1/+1
1996-08-13deleted a line for spacing correctionJoel Sherrill1-1/+0
1996-08-13_POSIX_Condition_variables_Wait_support: changed status of lock and unlock ↵Mark Johannes1-2/+2
to return EINVAL is there is an error