diff options
author | Martin Mares <mj@ucw.cz> | 1999-12-09 19:54:20 +0100 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-12-09 19:54:20 +0100 |
commit | f545d38707bf01aa9db3915d782a547f89f92c1d (patch) | |
tree | b5bb07889273603a91e63a52813e634540ddd877 /lib/printf.c | |
parent | 30bc402ebb324749f9468f8ff196545bb0a58442 (diff) | |
download | bird-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 'lib/printf.c')
0 files changed, 0 insertions, 0 deletions