When building for Fedora 36 with gcc-12.0.1:
```
Makefile.defs:1683: You are using an old and unsupported gcc version (12.0.1), compile at your own risk!
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3073
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3073(a)github.com>
Hi:
See lock_hash in h_table.c:
Flowing lines of code do not guarantee atomicity and I think it is not safe:
- atomic_get(&_tm_table->entries[i].locker_pid) != mypid
- lock(&_tm_table->entries[i].mutex)
- atomic_set(&_tm_table->entries[i].locker_pid, mypid)
Would you mind solving my confusion?
Best Regards!