I would remove the possiblity to run a function (pointer) in a thread directly from thelib. A thread then could only run runnables and nothing else. For function pointers, I think we could provide a special runnable that executes the function, but running a function is extremely hugly wrt. to the new termination behaviour we want to introduce.
Log in to post a comment.