Commit Graph

36 Commits

Author SHA1 Message Date
mainzelm d30130ab03 Deadlock-free resource locking. 2002-08-13 06:49:22 +00:00
mainzelm 021cd1efc1 + Let WITH-HANDLER take care of the resource lock.
+ Removed some duplicate alignments of process resources and moved
other closer the the actual system call
2002-05-15 17:05:02 +00:00
mainzelm cb6e8572d6 Added forgotten calls to with-cwd-aligned. 2002-03-05 16:57:43 +00:00
mainzelm e316ce1109 + Fixed bug in set-process-group
+ include <string.h>
+ save errno before starting timer interrupts
2002-02-11 17:32:20 +00:00
mainzelm fe6a9db1e5 Renamed scsh-events to sigevents. 2001-10-18 09:02:52 +00:00
mainzelm f4c06c96e7 Let wait-pid use s48_raise_os_error and adapt Scheme code accordingly. 2001-10-18 08:51:32 +00:00
mainzelm 238dceb380 Renamed sleep & sleep-until to process-sleep and process-sleep-until. 2001-10-09 19:47:00 +00:00
mainzelm 925ca7b349 Use continuation-graft in import-os-error-syscall. 2001-09-17 15:30:12 +00:00
mainzelm ebd33706cc Use import-os-error-syscall to convert from os-error to syscall-error. 2001-09-12 14:08:24 +00:00
mainzelm 006c551429 + Decigged syscalls, sleep
+ Modified operations that work on file descriptors to allocate appropriate
  buffered ports.
2001-09-07 16:05:31 +00:00
mainzelm e4e0ba1e31 char_ready can be defined in terms of select, stream_char_ready is no longer needed, so there is nothing machine-specific left.
Therefore removed arch/stdio_dep.c/h and defined char_ready in syscalls.
2001-09-06 16:34:49 +00:00
mainzelm 327daeed32 Replaced most of define-foreign by
define-stubless-foreign/define-retrying-syscall in syscalls.scm.
2001-08-08 09:21:20 +00:00
mainzelm 4aa561b569 Implement environment per thread via process-resource/thread-fluids. 2001-08-06 08:33:24 +00:00
mainzelm 75fa4c1852 With-umask-align for the rest of the syscalls. 2001-07-10 14:52:57 +00:00
mainzelm decf6184d9 + Derive general make-process-resource from cwd stuff
+ Implement cwd with make-process-resource
+ Implement umask with make-process-resource
+ Add with-umask-aligned* to exec
2001-07-09 21:23:04 +00:00
mainzelm 2da7ff5f72 Structure name change. 2001-06-19 11:31:27 +00:00
olin-shivers fa5258b957 I just went through what seemed to be a no-op round of conflict merging. ???
-Olin
2001-06-02 17:53:18 +00:00
sperber e2a6e37c70 First stab at proper syslog interface. 2001-06-01 16:22:26 +00:00
mainzelm 31894f1894 itimer moved to syscalls but is implemented via rts/events.scm 2001-01-09 15:55:03 +00:00
mainzelm 51552b6842 Optional arguments for syslog and openlog. 2001-01-03 16:15:28 +00:00
mainzelm fb6abe74fa Added syslog. 2001-01-02 14:43:27 +00:00
mainzelm c7be5ed2b1 Ported some functions to new FFI. 2001-01-01 17:22:54 +00:00
mainzelm 2cb62dfcb5 Fixed two small bugs in pipe and fork 2000-09-24 20:52:07 +00:00
mainzelm d58a39d813 Small bug fixes. 2000-09-20 10:14:11 +00:00
mainzelm 2a6d087f0d Replaced many define-foreign by define-stubless-foreign 2000-09-19 08:08:39 +00:00
marting 37fc37e78c Implemented waitpid with the new FFI to support 32 bit parameters. 2000-07-27 13:32:12 +00:00
marting ea5725436e Added several cwd-aligns. with-env usees with-lock. Some corrections
to getenv.
2000-06-28 10:27:34 +00:00
marting d0b3f61ccd Better type annotations. Moved char_pp_2_sting_list to cstuff.c. 2000-05-16 09:24:54 +00:00
marting bce5c62cbf removed the static return values in the uid and gid functions. This is all done without cig 1999-11-16 16:37:28 +00:00
marting 539638acbd removed reap-zombies from fork; renamed cwd and chdir to process-X to support cwd per thread;read-symlink and get-hostname communicate via scheme-strings to omit the static strings; support for environ per thread, but some things are missing; added a first version of crypt 1999-11-04 20:23:25 +00:00
marting 2b3cb928b5 replaced integer by fixnum and removed 32-bit hacks 1999-09-29 22:47:33 +00:00
marting 768fc0b2f3 replaced most of the hi8/lo24-stuff by enter/extract_integer from the new FFI 1999-09-28 23:48:36 +00:00
marting bca77db078 daily snapshot, mainly changes to get 0.5.2 stuff running 1999-09-24 23:54:22 +00:00
marting 4e935c24a5 just a snapshot 1999-09-23 14:36:25 +00:00
marting d2fc94c2da replaced all the macros and definitions that have changed in c/scheme48.h. Sometimes changes were necessary, if stuff is no longer a l-value. Some things are just commented out to be able to compile 1999-09-16 00:20:37 +00:00
marting 09136048ae Added files from david fishers home (~dfisher/scsh-0.5.1).
Be warned: the scsh-version he started from was neither 0.5.1 nor
0.5.2, but something in between !
1999-09-14 13:32:05 +00:00