Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Export the shared instance to allow cross-platform implementation of …
…functionality (e.g. complete_after) that needs access to the io_service when using the asio-based default scheduler
  • Loading branch information
garethsb committed Dec 15, 2017
commit 9da20abfac1facb68752e52c3c69ff41506a2f1f
2 changes: 1 addition & 1 deletion Release/include/pplx/threadpool.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ using java_local_ref = std::unique_ptr<typename std::remove_pointer<T>::type, ja
class threadpool
{
public:
static threadpool& shared_instance();
_ASYNCRTIMP static threadpool& shared_instance();
_ASYNCRTIMP static std::unique_ptr<threadpool> __cdecl construct(size_t num_threads);

virtual ~threadpool() = default;
Expand Down