unix.process: take raise from unix.ffi
And fix introduced ambiguity between unix.ffi:kill and unix.process:killdb4
parent
fc7c175c9f
commit
8b9c9a5c63
|
@ -168,7 +168,4 @@ FUNCTION: int unlink ( c-string path ) ;
|
|||
FUNCTION: int utimes ( c-string path, timeval[2] times ) ;
|
||||
FUNCTION: ssize_t write ( int fd, void* buf, size_t nbytes ) ;
|
||||
|
||||
FUNCTION: int kill ( pid_t pid, int signal ) ;
|
||||
FUNCTION: int raise ( int signal ) ;
|
||||
|
||||
"librt" "librt.so" cdecl add-library
|
||||
|
|
|
@ -40,6 +40,8 @@ FUNCTION: int execve ( c-string path, c-string* argv, c-string* envp ) ;
|
|||
[ fork-process ] 2dip if-zero ; inline
|
||||
|
||||
FUNCTION: int kill ( pid_t pid, int sig ) ;
|
||||
FUNCTION: int raise ( int sig ) ;
|
||||
|
||||
|
||||
CONSTANT: PRIO_PROCESS 0
|
||||
CONSTANT: PRIO_PGRP 1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
USING: calendar continuations io kernel math namespaces threads
|
||||
tools.test unix.ffi unix.signals ;
|
||||
tools.test unix.ffi unix.process unix.signals ;
|
||||
IN: unix.signals.tests
|
||||
|
||||
SYMBOL: sigusr1-count
|
||||
|
|
Loading…
Reference in New Issue