JuliaInterop / libcxxwrap-julia

C++ library for backing CxxWrap.jl
Other
84 stars 43 forks source link

Added std::thread type to STL module #93

Closed stemann closed 3 years ago

stemann commented 3 years ago

It might be convenient to expose the C++ std::thread to Julia, if in need for managing a non-Julia thread from Julia, e.g. instead of passing void* back and forth as in https://github.com/IHPSystems/pylon_julia_wrapper/blob/master/src/pylon_wrapper.cpp#L255 and https://github.com/IHPSystems/pylon_julia_wrapper/blob/master/src/pylon_wrapper.cpp#L267

Not sure this PR is even remotely done - more implementation might be needed - and tests or samples.

barche commented 3 years ago

See PR #94 for a continuation of this