| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Fix missing set of api upon flow_alloc.
Various locking fixes.
|
|
|
|
|
|
|
| |
Refactors the IRMd to extract reg_api and irm_flow structures to their
own sources.
Fixes some locking bugs.
|
|
|
|
| |
The req_ae_name is freed when the unpacked message is cleaned up.
|
|
|
|
|
| |
When killing the oping client before it sent an SDU, some bad
operations were being performed.
|
|
|
|
|
|
|
|
| |
When a pending accept is shutdown on irmd exit, there are no more
threads running, but it should also change the state to NULL. This is
now correctly handled in the cleanup of the cancellation point.
Also fixed a busy wait with a condition variable.
|
|
|
|
|
|
|
|
|
| |
Flow allocation requests and registered api states revised so all
states are tracked with a condition variable. This is a more reliable
approach and improves stability of flow allocation.
Some other refactoring was also done, such as renaming port_map_entry
to irm_flow and hiding some internal structures of the registry.
|
|
|
|
|
| |
The destroy now only frees after all threads stopped using the object.
Also fixes a SEGV when trying to allocate a flow to a remote name.
|
|
|
|
|
|
| |
Easier names for the functions.The registry now uses a single list to
keep track of applications (bindings), moved the auto_exec state per
binding.
|
|
|
|
|
|
|
|
|
|
| |
For locally registered processes, the IRMd will first look for the
local, then the normal, then the shim-udp. It will look for a normal,
a shim-eth-llc and ultimately a shim-udp for non-local destinations.
It does not yet check if a remote destination is actually known in a
DIF.
Fixes #18.
|
|
|
|
|
| |
All includes of <errno.h> within ouroboros are replaced with the
ouroboros errno.
|
|
|
|
|
| |
Reflects that the functions (dis)associate an application instance
from/with a name and not remove it from the registry entirely.
|
|
|
|
|
|
|
|
| |
The stack used pid 0 (the scheduler) to indicate an invalid process
instance, probably as a leftover from the deprecated application
process instance id. Using -1 is a better solution.
Fixes #16.
|
|
All registry functionality has been extracted from the IRMd to improve
modularity and legibility of the code.
|