Ryan Dahl
725eb98105
Clean up various flatbuffer references ( #2819 )
2019-08-26 22:29:51 -04:00
Ryan Dahl
d8ada4d3fc
Port readSync/writeSync ops to minimal
...
This removes dispatch_flatbuffers as it is now unused. There are still a
few places where msg_generated is used: ErrorKind and MediaType. These
will be dealt with later.
2019-08-26 14:56:42 -04:00
Ryan Dahl
bc467b265f
introduce JSON serialization for ops ( #2799 )
...
Converts env(), exit(), execPath(), utime() and utimeSync() to use JSON
instead of flatbuffers.
2019-08-22 22:30:14 -07:00
Ryan Dahl
bdc97b3976
Organize dispatch a bit ( #2796 )
...
Just some clean up reorganization around flatbuffer/minimal dispatch
code. This is prep for adding a JSON dispatcher.
2019-08-21 20:42:48 -04:00
Ryan Dahl
81f809f2a6
Revert "Remove dead code: legacy read/write ops"
...
This is causing a segfault for unknown reasons - see #2787 .
This reverts commit 498f6ad431
.
2019-08-16 14:41:08 -04:00
Ryan Dahl
498f6ad431
Remove dead code: legacy read/write ops ( #2776 )
...
readSync and writeSync use dispatch_minimal now.
2019-08-14 19:54:35 -04:00
Ryan Dahl
e438ac2c74
Add op_id throughout op API ( #2734 )
...
Removes the magic number hack to switch between flatbuffers and the
minimal dispatcher.
Adds machinery to pass the op_id through the shared_queue.
2019-08-07 14:02:29 -04:00
Ryan Dahl
1361e30223
Revert "Refactor dispatch handling ( #2452 )"
...
Due to performance regression:
dc60fe9f30 (commitcomment-33943711)
This reverts commit dc60fe9f30
.
2019-06-14 13:56:36 -07:00
andy finch
dc60fe9f30
Refactor dispatch handling ( #2452 )
...
Promise id is now created in core and passed back to JS.
2019-06-13 20:43:54 -07:00
Ryan Dahl
00ac871607
Optimize read and write ops ( #2259 )
2019-05-03 00:06:43 -04:00