Skip to content

Commit

Permalink
Deprecate LLVM.start_multithreaded and .stop_multithreaded
Browse files Browse the repository at this point in the history
  • Loading branch information
HertzDevil committed Nov 4, 2023
1 parent b57aa37 commit 7fc6914
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/llvm.cr
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ module LLVM
{% end %}
end

@[Deprecated]
def self.start_multithreaded : Bool
if multithreaded?
true
Expand All @@ -76,6 +77,7 @@ module LLVM
end
end

@[Deprecated]
def self.stop_multithreaded
if multithreaded?
LibLLVM.stop_multithreaded
Expand Down

0 comments on commit 7fc6914

Please sign in to comment.