0

Does SML have a mutex/lock/semaphore/etc library? I couldn't find one anywhere in the docs. I couldn't even find a multithreading library anywhere. Does it exist?

Peter
  • 1,032
  • 1
  • 11
  • 26

1 Answers1

2

There is nothing in the standard as such. However, if you are using SML/NJ or MLton, then they both provide Concurrent ML, an advanced concurrency library with first-class synchronisation events. Poly/ML also has its own Thread module.

Andreas Rossberg
  • 34,518
  • 3
  • 61
  • 72