]> https://gitweb.dealii.org/ - dealii.git/commit
Remove debug mode guards in Subscriptor::(un)subscribe.
authorJean-Paul Pelteret <jppelteret@gmail.com>
Mon, 30 Apr 2018 20:48:31 +0000 (22:48 +0200)
committerJean-Paul Pelteret <jppelteret@gmail.com>
Sun, 15 Jul 2018 18:19:21 +0000 (20:19 +0200)
commit123e51782f6115758721cccb455ff1c9dbe23b2b
tree14a9b5c9d68b45acaad9cc020de3bf0e2c60f10d
parent95f6f46f2f67ca0924e8691508e2e8364d2546f1
Remove debug mode guards in Subscriptor::(un)subscribe.

The aim here is to prevent a race conditions not appearing in debug mode
and but only in release mode (which would actually mak debugging
harder). The drawback is that in release mode subscription, which does
not occur too frequently, is now more expensive.
source/base/subscriptor.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.