summaryrefslogtreecommitdiffstats
path: root/proto/pipe/pipe.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-12-09 19:54:20 +0100
committerMartin Mares <mj@ucw.cz>1999-12-09 19:54:20 +0100
commitf545d38707bf01aa9db3915d782a547f89f92c1d (patch)
treeb5bb07889273603a91e63a52813e634540ddd877 /proto/pipe/pipe.h
parent30bc402ebb324749f9468f8ff196545bb0a58442 (diff)
downloadbird-f545d38707bf01aa9db3915d782a547f89f92c1d.tar
bird-f545d38707bf01aa9db3915d782a547f89f92c1d.zip
Added universal locking mechanism which will solve problems
with protocols wanting to use the same port on the same interface during reconfiguration time. How to use locks: In the if_notify hook, just order locks for the interfaces you want to work with and do the real socket opening after the lock hook function gets called. When you stop using the socket, close it and rfree() the lock. Please update your protocols to use the new locking mechanism.
Diffstat (limited to 'proto/pipe/pipe.h')
0 files changed, 0 insertions, 0 deletions