Skip to content

Commit

Permalink
fix: rename Thread_local_storage_ to not collide with the library
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Oct 29, 2023
1 parent 8aaed6d commit 94a0f43
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 111 deletions.
6 changes: 3 additions & 3 deletions src/dune
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
(action
(run %{project_root}/src/cpp/cpp.exe %{input-file})))
(libraries threads either
(select thread_local_storage.ml from
(thread-local-storage -> thread_local_storage.stub.ml)
(-> thread_local_storage.real.ml))
(select thread_local_storage_.ml from
(thread-local-storage -> thread_local_storage_.stub.ml)
(-> thread_local_storage_.real.ml))
(select dla_.ml from
(domain-local-await -> dla_.real.ml)
( -> dla_.dummy.ml))))
2 changes: 1 addition & 1 deletion src/moonpool.ml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module Lock = Lock
module Immediate_runner = Immediate_runner
module Pool = Fifo_pool
module Runner = Runner
module Thread_local_storage = Thread_local_storage
module Thread_local_storage = Thread_local_storage_
module Ws_pool = Ws_pool

module Private = struct
Expand Down
2 changes: 1 addition & 1 deletion src/moonpool.mli
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module Lock = Lock
module Fut = Fut
module Chan = Chan
module Fork_join = Fork_join
module Thread_local_storage = Thread_local_storage
module Thread_local_storage = Thread_local_storage_

(** A simple blocking queue.
Expand Down
21 changes: 0 additions & 21 deletions src/thread_local_storage.mli

This file was deleted.

82 changes: 0 additions & 82 deletions src/thread_local_storage.real.ml

This file was deleted.

3 changes: 0 additions & 3 deletions src/thread_local_storage.stub.ml

This file was deleted.

0 comments on commit 94a0f43

Please sign in to comment.