mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-09 13:30:26 +02:00
* __scm.h (SCM_ALLOW_INTS, SCM_REALLOW_INTS): Removed call to
SCM_ASYNC_TICK. (This is a preparation for POSIX threads support, and kind of an experiment: Will this cause problems?)
This commit is contained in:
parent
31d8abcec8
commit
f7acb3985e
1 changed files with 0 additions and 9 deletions
|
@ -231,8 +231,6 @@ typedef long SCM_STACKITEM;
|
|||
#define SCM_THREAD_DEFER
|
||||
#define SCM_THREAD_ALLOW
|
||||
#define SCM_THREAD_REDEFER
|
||||
#define SCM_THREAD_REALLOW_1
|
||||
#define SCM_THREAD_REALLOW_2
|
||||
#define SCM_THREAD_SWITCHING_CODE
|
||||
#endif
|
||||
|
||||
|
@ -307,7 +305,6 @@ do { \
|
|||
scm_ints_disabled = 0; \
|
||||
SCM_FENCE; \
|
||||
SCM_THREAD_ALLOW; \
|
||||
SCM_ASYNC_TICK; \
|
||||
SCM_FENCE; \
|
||||
} while (0)
|
||||
|
||||
|
@ -324,15 +321,9 @@ do { \
|
|||
#define SCM_REALLOW_INTS \
|
||||
do { \
|
||||
SCM_FENCE; \
|
||||
SCM_THREAD_REALLOW_1; \
|
||||
SCM_THREAD_SWITCHING_CODE; \
|
||||
SCM_FENCE; \
|
||||
--scm_ints_disabled; \
|
||||
if (!scm_ints_disabled) \
|
||||
{ \
|
||||
SCM_THREAD_REALLOW_2; \
|
||||
SCM_ASYNC_TICK; \
|
||||
} \
|
||||
SCM_FENCE; \
|
||||
} while (0)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue