Releases: robur-coop/miou
0.7.0
0.6.0
CHANGES:
-
Fix documentation link (#107, @dinosaure)
-
Allow creation of UNIX domain (#106, @theAlexes)
-
Add trace system for Miou (#110, @dinosaure)
A new module
Miou.Traceis available and allows the user to register an
event consumer. The sub-packagemiou.runtime_eventsis also avaible and use
the OCaml runtime events system to emit Miou's events. Some tools are now
available to record Miou's events, you can check them here -
Add
Miou.take(#113, @dinosaure)A new function
Miou.takeis available to consume tasks available from an
Miou.orphans. By this way, the user is able toMiou.canceltasks instead
of just await them (withMiou.await{,_exn}andMiou.care). -
Internal function
handle(which runs tasks) becomes indempotent (#112,
@dinosaure)
0.5.5
CHANGES:
- Improve how we manipulate our internal bitv structure for
Miou_unix
(@dinosaure, #102) - Improve the documentation about specifities related to the
dom0
(@dinosaure, @voodoos, #104 and #103)
0.5.4
0.5.3
0.5.2
CHANGES:
- Add the Windows support (from our old
Unix.selectimplementation)
(@dinosaure, #94) - Use
-Werroronly on the released mode (@dinosaure, #93)
0.5.1
CHANGES:
- Fix a deadlock when we fall into an abnormal situation (when we broke rules)
(@dinosaure, #84) - Add
POLLHUPevent when we check if a file-descriptor is read-ready
(specially for pipe) (@madroach, @dinosaure, #89)
0.5.0
CHANGES:
-
Use
poll(2)/ppoll(2)instead ofselect(3P)(#75, @dinosaure, @haesbaert,
@hannesm, @backtracking)miou.unixnow uses thepoll(2)orppoll(2)function if available (the
choice is determined at compilation). It replaces the use ofselect(3P)and
improves performance. Miou no longer needs to build lists of file descriptors
to observe, but instead manipulates a bitv and an array containing these file
descriptors.The
bitvimplementation comes from the bitv library written by
@backtracking, who kindly allowed us to relicense it under MIT.Finally, a special thanks to @haesbaert, who originally wrote
[ocaml-iomux][iomux], which provides a portable implementation and an OCaml
interface for usingpoll(2)/ppoll(2).The use of
poll(2)/ppoll(2)should improve performance, as noted in the
PR, particularly with regard to our httpcats HTTP server.It should be noted that
dune-configuratorhas been added as a new dependency
for Miou. However, support fortopkg/ocamlbuildis still maintained (and
it is possible to compile and install Miou with this build system). -
Correctly clean-up internals structures used by domains when we call multiple
timesMiou_unix.runand clean-up cancelled file-descriptors
(#82, @dinosaure) -
Synchronize
dom0when one domain receive a signal (#78, @omegametabroccolo,
@dinosaure, @reynir, partially fix #77) -
Add
Miou.Ownership.releaseto disown and release a resource
(@dinosaure, #79)
0.4.0
CHANGES:
- Fix the suspension mechanism and allow the user to pass a function which will
be executed when the suspension is confirmed by Miou (@dinosaure, #58) - Clean-up correctly cancelled syscalls (@dinosaure, #59)
- Fix the number of orphans we count (@dinosaure, #60)
- Do some micro-optimisations when we use only one core (@dinosaure, #61)
- Add tests about
waitpidand document it (@dinosaure, @mbarbin, #64, #66) - Explain into the documentation the Miou behavior about exceptions
(@kit-ty-kate, @dinosaure, #67) - Update the README.md and add a CODE_OF_CONDUCT.md (@dinosaure, #68)
- Fix our tests on Windows (@dinosaure, #69)
0.3.1
CHANGES:
- Notice the domain if it needs to look into the shared heap if a task is ready
to be transfered (@dinosaure, #41) - Don't use
Option.valuebutmatch .. withto calculate the optional length
forMiou_unix.{read,write}(@kit-ty-kate, #44) - Use
List.iterinstead ofHashtbl.iterfor internal kept file-descriptors
ofMiou_unix(@dinosaure, #45) - Improve the documentation of
Miou_unixabout suspended syscalls (@dinosaure,
@kit-ty-kate, #43) - Export
reraise(@dinosaure, #46) - Fix an issue on the
dom0and observe if some tasks must be transfered to it
(@dinosaure, #48) - Fix documentation (@mbarbin, #47)
- Fix the formatter (@mbarbin, #51)
- Upgrade miou to
ocamlformat.0.27.0(@mbarbin, #52) - Add
x-maintenance-intent(@hannesm, #56) - Improve the documentation and some
odocwarnings (@mbarbin, #53, #54)