summaryrefslogtreecommitdiff
path: root/sys/src/libthread/main.c
AgeCommit message (Collapse)Author
2015-08-25fix fuckupglenda
2015-08-25import E script from bell labsmischief
2015-02-28libthread: use devdup instead of mounting pipe to /mnt/temp for ↵cinap_lenrek
close-on-exec in procexec() the namespace might be shared by other processes. instead, we create a anonymous pipe with pipe() and use devdup to open one end close-on-exec. this is shorter and avoids the race condition. do not touch Execargs after writing the error message as the process might be gone after the write. this was to manually close the fd which isnt neccesary as the kernel will do it for us on the following exit.
2013-12-06libthread: avoid calling thread waiting for fork/execed process to finish if ↵cinap_lenrek
we dont have to we do not need to wait for fork/execed program to finish when not collecting waitmsg. this reduces the number of rio processes hanging arround for each window shell just waiting for it to terminate and then dumping the waitmsg.
2012-01-10libc: restoring simple sequential version of dial()cinap_lenrek
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen