0

As per title, is there an equivalent of pthread_barrier_t type in windows? I' ve found SYNCHRONIZATION_BARRIER but seems available only since Windows 8.

Is there something more portable?

Thanks

Federico Ponzi
  • 2,682
  • 4
  • 34
  • 60

1 Answers1

1

Do it the old fashioned way before barriers were invented: with a counting semaphore

cup
  • 7,589
  • 4
  • 19
  • 42