-
Notifications
You must be signed in to change notification settings - Fork 321
SpinlockPush
Eddie Kohler edited this page Oct 17, 2017
·
1 revision
SpinlockPush — Click element; acquires a spinlock, push the packets then release the lock
SpinlockPush(LOCK)
Ports: 1 input, 1 output
Processing: push
Acquires the spinlock named LOCK. LOCK must be defined in a SpinlockInfo element. The packet is then pushed through the pipeline and when the processing down the push path is done, releases the lock.
Ensure that a push path will not be traversed by multiple threads at the same time while SpinlockAcquire/SpinlockRelease work for any path but do not support dropping packets between a SpinlockAcquire and a SpinlockRelease
SpinlockInfo, SpinlockAcquire, SpinlockRelease
Generated by click-elem2man from ../elements/threads/spinlockpush.hh:7
on 2017/10/17.