Theodore Dubois
3cf7619de7
Merge branch 'jit'
2018-08-12 19:35:43 -07:00
Theodore Dubois
cd310198c6
Fix various blockchain bugs
2018-06-01 11:34:12 -07:00
Theodore Dubois
ab3beead9b
Stop including mach headers from util/timer.h
...
This was causing PAGE_SIZE to be redefined after it was defined in
emu/memory.h
2018-04-18 17:20:40 -07:00
Theodore Dubois
5fee551307
Implement close on exec
2018-01-19 16:44:34 -08:00
Theodore Dubois
b92789385b
Fix race conditions in timer
2018-01-14 18:46:41 -08:00
Theodore Dubois
77f9c73be9
Remove magic from locking macros
2018-01-14 18:18:12 -08:00
Theodore Dubois
fa6a1a9fdd
Remove useless circular buffer
2018-01-14 16:34:11 -08:00
Theodore Dubois
5d2fdd3e18
Reduce magic in locking macros
2017-12-19 22:48:43 -08:00
Theodore Dubois
da7d1a6a82
Detach threads after creating them, unlock mutexes before freeing them
2017-12-18 16:27:49 -08:00
Theodore Dubois
3c15e79178
Add locking to timer
2017-12-17 20:05:59 -08:00
Theodore Dubois
7dbd316399
Use monotonic time for timers
2017-12-08 11:13:16 -08:00
Theodore Dubois
5bfda67bd1
Make the timer actually fire
2017-10-16 14:06:57 -07:00
Theodore Dubois
a08a34a62f
Implement thread-based timer architecture
2017-10-14 15:57:12 -07:00
Theodore Dubois
f1e63c43e0
Rename sys directory to kernel
...
A number of the headers in it were conflicting with macOS system
headers.
2017-10-13 16:54:11 -07:00
Theodore Dubois
bee46f41de
Reinitialize the list of children of a brand new process
...
This fixes a bug where if you start a shell from a shell, the inner
shell would call waitpid(-1) and that would get stuck in an infinite
loop over garbage child process data.
2017-10-12 17:20:23 -07:00
Theodore Dubois
0c5663cbe6
Add support for polling real fds
2017-09-19 17:40:44 -07:00
Theodore Dubois
2bca06f83c
Rollback to filesystem with paths
2017-09-13 12:56:52 -07:00
Theodore Dubois
274b7531af
Refactor filesystem to not use paths
2017-09-06 15:39:04 -07:00
Theodore Dubois
7f374aca2b
Make ctrl-c work
2017-09-02 16:10:42 -07:00
Theodore Dubois
11f91108a5
Report that a process exited from a signal
2017-08-29 18:29:25 -07:00
Theodore Dubois
9dbaeee5db
Implement poll, more seriously this time
2017-08-21 13:04:51 -07:00
Theodore Dubois
9590764920
Implement basic TTY support
...
cat works, sh doesn't work. one step forward, two steps back.
2017-08-18 16:55:20 -07:00
Theodore Dubois
7d78278ead
Add synchronized circular buffer, for use in ttys
2017-08-04 14:59:06 -07:00