Skip to content

Commit 43309d8

Browse files
committed
#7 - Added freeOnTerminate to Thread's Constructor
1 parent 54889c0 commit 43309d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ESPressio_Thread.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
#include "ESPressio_IThread.hpp"
44
#include "ESPressio_ThreadSafe.hpp"
55

6-
ifndef ESPRESSIO_THREAD_DEFAULT_STACK_SIZE
6+
#ifndef ESPRESSIO_THREAD_DEFAULT_STACK_SIZE
77
#define ESPRESSIO_THREAD_DEFAULT_STACK_SIZE 4000
8-
endif
8+
#endif
99

1010
namespace ESPressio {
1111

@@ -70,7 +70,7 @@ namespace ESPressio {
7070
}
7171
public:
7272
// Constructor/Destructor
73-
Thread();
73+
Thread(bool freeOnTerminate = false);
7474

7575
~Thread();
7676

0 commit comments

Comments
 (0)