From 57d2b143e9ab2a547da14b74fbb4c85ec347da15 Mon Sep 17 00:00:00 2001
From: Michael Davidsaver
epicsThreadCreateOpt() is an alternative to epicsThreadCreate() which
+passes some arguments via a structure (struct epicsThreadOpts).
+This epicsThreadOpts* may be NULL to use target specific
+defaults. Caller wishing to provide thread options should first call
+epicsThreadOptsDefaults() to fill in the defaults.
+void startitup(void) {
+ epicsThreadOpts opts;
+ epicsThreadOptsDefaults(&opts);
+ opts.priority = epicsThreadPriorityMedium;
+
+ ... = epicsThreadCreateOpt("my thread", &threadMain, NULL, &opts);
+}
+
+
+If the new epicsThreadOpts::joinable option flag is set (not the default), +then epicsThreadMustJoin() needs to be called to free up thread resources. +This function will block until the thread main function has returned.
+The list of tracked bugs fixed in this release can be found on the