zrlio / disni

DiSNI: Direct Storage and Networking Interface
Apache License 2.0
186 stars 66 forks source link

CM processor daemon thread #47

Closed PepperJo closed 5 years ago

PepperJo commented 5 years ago

Some application (e.g. Spark) rely on the application exiting when the main method returns. This requires all threads still active at the return of main to be daemon threads otherwise the application will wait for the threads to exit. This fix changes the RdmaCmProcessor thread to be a daemon thread.