Make initialisation more robust
authorVincent Danjean <Vincent.Danjean@ens-lyon.org>
Mon, 3 Sep 2012 12:48:07 +0000 (14:48 +0200)
committerVincent Danjean <Vincent.Danjean@ens-lyon.org>
Mon, 3 Sep 2012 12:48:07 +0000 (14:48 +0200)
commit3151578a93fc74f35ff57a53b0b6d35d49ab803c
tree7facc84fc41ac59d4ff0cde81df7ce0066f32c17
parentcd4c074dc86d50152ab8a194139f1109926d4c2e
Make initialisation more robust

- avoid pthread, prefer active waiting
- use a constructor to ensure early initialisation
  (with luck, no concurrency is already there, so no active waiting occures)
configure.ac
ocl_icd_loader.c