Libspinscale: begin splitting it off
This commit is contained in:
@@ -2,10 +2,12 @@
|
||||
#include <pthread.h>
|
||||
#include <componentThread.h>
|
||||
#include <marionette/marionette.h>
|
||||
|
||||
#include <spinscale/componentThread.h>
|
||||
|
||||
int main(int argc, char *argv[], char *envp[])
|
||||
{
|
||||
// Set the marionette thread ID before using any ComponentThread functionality
|
||||
spinscale::setMarionetteThreadId(smo::SmoThreadId::MRNTT);
|
||||
pthread_setname_np(pthread_self(), "smo:CRT:main");
|
||||
/* We don't do anything inside of main()
|
||||
* Main merely waits for the marionette thread to exit.
|
||||
|
||||
Reference in New Issue
Block a user