walnux/graphics/nxterm
Gregory Nutt 9568600ab1 Squashed commit of the following:
This commit backs out most of commit b4747286b1.  That change was added because sem_wait() would sometimes cause cancellation points inappropriated.  But with these recent changes, nxsem_wait() is used instead and it is not a cancellation point.

    In the OS, all calls to sem_wait() changed to nxsem_wait().  nxsem_wait() does not return errors via errno so each place where nxsem_wait() is now called must not examine the errno variable.

    In all OS functions (not libraries), change sem_wait() to nxsem_wait().  This will prevent the OS from creating bogus cancellation points and from modifying the per-task errno variable.

    sched/semaphore:  Add the function nxsem_wait().  This is a new internal OS interface.  It is functionally equivalent to sem_wait() except that (1) it is not a cancellation point, and (2) it does not set the per-thread errno value on return.
2017-10-04 15:22:27 -06:00
..
Make.defs Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES 2016-06-11 14:14:08 -06:00
nx_register.c Update README; Remove comment blocks before empty sections. 2017-01-08 11:20:16 -06:00
nxterm.h Squashed commit of the following: 2017-10-04 15:22:27 -06:00
nxterm_driver.c Update README; Remove comment blocks before empty sections. 2017-01-08 11:20:16 -06:00
nxterm_font.c Font cache: misc fixes and improvements 2017-01-06 11:06:50 -06:00
nxterm_kbdin.c Squashed commit of the following: 2017-10-04 15:22:27 -06:00
nxterm_putc.c Update README; Remove comment blocks before empty sections. 2017-01-08 11:20:16 -06:00
nxterm_redraw.c Update README; Remove comment blocks before empty sections. 2017-01-08 11:20:16 -06:00
nxterm_register.c Squashed commit of the following: 2017-10-03 15:35:24 -06:00
nxterm_scroll.c Update README; Remove comment blocks before empty sections. 2017-01-08 14:01:16 -06:00
nxterm_sem.c Squashed commit of the following: 2017-10-04 15:22:27 -06:00
nxterm_unregister.c Squashed commit of the following: 2017-10-03 15:35:24 -06:00
nxterm_vt100.c Update README; Remove comment blocks before empty sections. 2017-01-08 11:20:16 -06:00
nxtk_register.c Update README; Remove comment blocks before empty sections. 2017-01-08 11:20:16 -06:00
nxtool_register.c Update README; Remove comment blocks before empty sections. 2017-01-08 11:20:16 -06:00