Stream: brlcad

Topic: Developing applications


view this post on Zulip Daniel Rossberg (Oct 31 2019 at 10:09):

Is it correct that bu_semaphore_init() does not have to be called explicitly by an application which wants to use parallel BRL-CAD threads?

view this post on Zulip Sean (Nov 04 2019 at 21:49):

@Daniel Rossberg That is the intent, yes.

view this post on Zulip Sean (Nov 04 2019 at 21:53):

I would still recommend calling it explicitly for production code just to be deterministic, but semaphores should get initialized automatically as they're acquired.


Last updated: Oct 09 2024 at 00:44 UTC