I2c driver multiple threads

Hello, I would like to know if Zephyr I2c have some locking mechanisms to prevent simultaneous access from multiple threads. Three devices are connected to the same I2c, accessed by three threads.

If not, what is the best way to implement a lock on the i2c?

Thanks for your help.

Giorgio

Related