Calvin Rose

Results 150 comments of Calvin Rose

os/execute doesn't work with files - note that devnull uses os/open rather than file/ open. These are in Janet what are called Streams and are just wrappers around Unix file...

Os/execute takes all of the same arguments as os/spawn

This is an issue tracker, not a chatroom. I think we are getting off topic and I feel like I'm fielding random questions in a thread. Are you trying to...

I'm not putting all of the nuance here into the doctoring for os/spawn. > Why would I want to always use os/proc-wait against os/spawn? To prevent garbage collector from destroying...

There is definitely some improvement to be made here - we can probably have better behavior by default, and possibly expose sigprocmask for control over which threads handle signals. Regardless,...

An aside - a quick check on my machine seems to indicate that using `:term` SIGTERM instead of `:int` SIGINT will have the desired effect. EDIT: nevermind, it works trivially...

Looking into this some more, I think the issue is some undefined behavior of what happens when you called `exit` in a program with pthread "detached" threads, of which all...

This has been fixed on the latest master with the addition of a `force` argument to exit that calls `_exit` instead. The cause of this is just that `exit()` flushed...

So I don't think we really need stdatomic in most cases since we can use the compiler builtins for each platform. As referenced in the original bug, Janet compiles just...

So going back to the original bug, I'm not even sure why TCC support was added - tcc didn't get atomics support until _very_ recently, and I think the initial...