Closed thisiscam closed 8 years ago
It means use -fPIC for position independent code This is needed for linking a shared lib against sylvan.a
I'm thinking of reverting the PIC commit now as it requires an update on CMake version(which fails travis). It might also come with performance implication(though probably not something observable).
Will comment when I get an update
You could revert changes with new commits to this branch, and the branch be rebased in order to be merged (up to @trolando, I am just commenting).
I did not yet look at the proposed commits, but I'd appreciate slightly more verbose commit messages.
Regarding exposing some of Lace's functionality, this is tricky. I am planning to eventually revise some of the top-level functions in Lace, because the current API is vague and can be improved. I am halfway with this revision, but it has low priority due to other things having more priority.
This pull request contains the following changes:
More on 4), I'm using C#'s mono to create managed threads(which implementation is just based on pthreads), then I call lace_worker_init on each of these managed threads to initialize the lace workers, after which I would call "lace_run_default_worker" to participate in work stealing until the end. Theoretically, java/python(whose threads module are also based on pthreads) can use this same API to use Lace too!