From: mquinson Date: Fri, 7 Mar 2008 21:32:52 +0000 (+0000) Subject: Fix a god damn race condition: make sure nobody changes the dynar->used value before... X-Git-Tag: v3.3~593 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b9e946cdde00d87529a22bd6e152357d8e71e935?hp=b9e946cdde00d87529a22bd6e152357d8e71e935 Fix a god damn race condition: make sure nobody changes the dynar->used value before we get the lock by actually locking before reading it (inline xbt_dynar_insert_at in xbt_dynar_push) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5283 48e7efb5-ca39-0410-a469-dd3cf9ba447f ---