summaryrefslogtreecommitdiff
path: root/libguile/coop-pthreads.c
AgeCommit message (Collapse)AuthorFilesLines
2009-01-18Remove useless cooperative multi-threading source files.Ludovic Courtès1-1040/+0
2006-10-25* configure.in: New check for uca lib (needed for IA64 on HP-UX).Neil Jerram1-2/+3
* threads.c (SCM_MARK_BACKING_STORE): Use scm_ia64_ar_bsp() and scm_ia64_register_backing_store_base() instead of Linux-specific implementations. * gc.h (scm_ia64_register_backing_store_base, scm_ia64_ar_bsp): New declarations. * gc.c (__libc_ia64_register_backing_store_base): Declaration removed. (scm_ia64_register_backing_store_base, scm_ia64_ar_bsp): New, with implementations for Linux and HP-UX. * coop-pthreads.c (SCM_MARK_BACKING_STORE): Use scm_ia64_ar_bsp() and scm_ia64_register_backing_store_base() instead of Linux-specific implementations. * continuations.h (__libc_ia64_register_backing_store_base): Declaration removed. (scm_t_contregs): New "fresh" field. * continuations.c (ia64_getcontext): Removed. (scm_make_continuation): Use continuation fresh field instead of interpreting getcontext return values (which isn't portable). Use scm_ia64_ar_bsp() and scm_ia64_register_backing_store_base() instead of Linux-specific implementations. (copy_stack_and_call): Use scm_ia64_register_backing_store_base() instead of Linux-specific implementation. * _scm.h (__ia64__): Also detect __ia64.
2006-04-17merge from 1.8 branchKevin Ryde1-1/+1
2005-05-23The FSF has a new address.Marius Vollmer1-1/+1
2004-10-22* variable.c, threads.c, struct.c, stackchk.c, smob.c, root.c,Marius Vollmer1-1/+1
print.c, ports.c, mallocs.c, hooks.c, hashtab.c, fports.c, guardians.c, filesys.c, coop-pthreads.c, continuations.c: Use scm_uintprint to print unsigned integers, raw heap words, and adresses, using a cast to scm_t_bits to turn pointers into integers.
2004-09-22*** empty log message ***Marius Vollmer1-8/+8
2004-07-06* deprecated.h, boolean.h (SCM_FALSEP, SCM_NFALSEP, SCM_BOOL,Marius Vollmer1-6/+6
SCM_NEGATE_BOOL, SCM_BOOLP): Deprecated by moving into "deprecated.h". Replaced all uses with scm_is_false, scm_is_true, scm_from_bool, and scm_is_bool, respectively.
2003-04-05Changed license terms to the plain LGPL thru-out.Marius Vollmer1-36/+12
2003-03-27* coop-pthreads.c: fix various preprocessor usages of new publicRob Browning1-2/+2
symbols to expect 0 or 1 values rather than 1 or undefined. i.e. change #ifdef to #if, etc.
2003-03-25* coop-pthreads.c: #include "libguile/_scm.h" early. ReplaceRob Browning1-5/+7
usage of struct timespect with scm_t_timespec. Replace usage of STACK_GROWS_UP with SCM_STACK_GROWS_UP.
2002-11-14* coop-pthreads.c, coop-pthreads.h: scm_internal_select should beMikael Djurfeldt1-3/+1
part of the API, otherwise it's difficult to write Guile extensions using non-blocking I/O => moved #include "libguile/iselect.h" from coop-pthreads.c --> coop-pthreads.h. * coop-pthreads.c (scm_unlock_mutex): Changed s_lock_mutex --> s_unlock_mutex.
2002-11-03Some harmless renamings of internal stuff.Marius Vollmer1-179/+83
(create_thread): New, generalized version of scm_call_with_new_thread. (scm_call_with_new_thread): Use it. (scm_spawn_thread): New, use create_thread.
2002-11-02Redone completely, you might start testing it now.Marius Vollmer1-276/+448
2002-10-30Closer, but not there.Marius Vollmer1-85/+142
2002-10-30Updated, but still totally unusable.Marius Vollmer1-466/+508
2002-10-27* coop-pthreads.h, coop-pthreads.c: New, but unfinished.Marius Vollmer1-0/+888