Skip to content

Commit

Permalink
Update thread.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
gammasoft71 authored Sep 11, 2023
1 parent 88be33f commit 283c4fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/xtd.core.examples/threading/thread/src/thread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class thread_example {
// The constructor for the thread class requires a thread_start
// delegate that represents the method to be executed on the
// thread. xtd simplifies the creation of this delegate.
auto t = thread {thread_start {thread_proc}};
auto t = thread {thread_proc};

// Start thread_proc. Note that on a uniprocessor, the new
// thread does not get any processor time until the main thread
Expand Down

0 comments on commit 283c4fd

Please sign in to comment.