aboutsummaryrefslogtreecommitdiff
path: root/pulse/src/runnable/pulse.rs
Commit message (Collapse)AuthorAgeFilesLines
* Move pulse context out of Runnable struct.Andreas Grois2021-05-031-21/+34
| | | | | | | | It's something that should be created after the runnable started, not when the runnable gets instantiated. Also, that way we can ensure that the context isn't moved between threads, as I'm not certain that's sane to do (meaning: using it from different threads, not sending the pointer).
* Properly quit pulse main function. Not that it'd matter.Andreas Grois2021-05-021-1/+5
| | | | | All that this cleanup does is set the return value... Apart from that, it's just like nuking the main loop by calling free...
* Create a pulse context. Seems to be working.Andreas Grois2021-05-021-6/+72
|
* Factor out all unsafe code into its own module (unfinished)Andreas Grois2021-05-021-0/+80