Promises for const find() on std::map

A

Alan Woodland

Hi,

Does the C++ standard have anything to say about async safety? I.e. does
it define what is/isn't safe to call in a signal handler? I'm slightly
hazy about what standard defines what in the context of signals....

Really what I want to know: is it reasonable to assume that the const
version of find() on std::map is async safe? (I'm slightly worried this
might be OT for C++ though if the current standards overlook/delegate
the definition of async safe)

Thanks,
Alan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top