You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Trying to build and run bpftime gave above as an issue. It was recommending to use pthread_rwlock_t and pthread_mutex instead of pthread_spinlock_t. After discussion with @Officeyutong and @yunwei37 they suggested to write own spinlock implementation.
Is your feature request related to a problem? Please describe.
Trying to build and run
bpftime
gave above as an issue. It was recommending to usepthread_rwlock_t
andpthread_mutex
instead ofpthread_spinlock_t
. After discussion with @Officeyutong and @yunwei37 they suggested to write ownspinlock
implementation.Describe the solution you'd like
Create your own spinlock implementation which works well with bpftime:
https://medium.com/@joao_vaz/spin-lock-in-modern-c-with-atomics-memory-barriers-and-exponential-back-off-522798aca817
The text was updated successfully, but these errors were encountered: