xkaraman left a comment (kamailio/kamailio#4363)

We are now supplying only one method for locking out of five available: 
`FUTEX`, `FAST_LOCK` and so on.

Previsouly both `USE_FUTEX` and `FAST_LOCK` were provided to the build, but 
according to 
https://github.com/kamailio/kamailio/blob/2ca2ba1b2cbd73924f5b09396ff194402196258c/src/core/lock_ops.h#L80-L91
 only one is of course used.

But it seems 
https://github.com/kamailio/kamailio/blob/2ca2ba1b2cbd73924f5b09396ff194402196258c/src/core/lock_alloc.h#L59
 and  
https://github.com/kamailio/kamailio/blob/2ca2ba1b2cbd73924f5b09396ff194402196258c/src/core/lock_alloc.h#L81
 do not include the `USE_FUTEX` one. 

Therefore since now we only apply the USE_FUTEX and not the FAST_LOCK one, it 
fails to build. 

Is this expected and both are required? or a code adoption to include 
`USE_FUTEX` in the `ifdef` statement is nessecary?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4363#issuecomment-3179872046
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/pull/4363/c3179872...@github.com>
_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to