Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

is there a non-file-based named mutex in boost

Tags:

c++

mutex

boost

is there a non-file-based named mutex in boost? My problem is, that the file won't be deleted in case the process crashes. The file will even survive a reboot.

regards, Tobias

like image 892
Tobias Langner Avatar asked Mar 14 '11 09:03

Tobias Langner


1 Answers

For windows it is possible to use boost::interprocess::ipcdetail::winapi_mutex_wrapper since it is not file based

like image 55
ugene Avatar answered Sep 29 '22 02:09

ugene