diff options
Diffstat (limited to 'demos/Win32-MSVS/chconf.h')
-rw-r--r-- | demos/Win32-MSVS/chconf.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/demos/Win32-MSVS/chconf.h b/demos/Win32-MSVS/chconf.h index 59a13d224..da7fcd266 100644 --- a/demos/Win32-MSVS/chconf.h +++ b/demos/Win32-MSVS/chconf.h @@ -68,6 +68,10 @@ * in the kernel.*/
#define CH_USE_SEMAPHORES
+/** Configuration option: if specified then the Semaphores atomic Signal+Wait
+ * APIs are included in the kernel.*/
+#define CH_USE_SEMSW
+
/** Configuration option: if specified then the Semaphores with timeout APIs
* are included in the kernel.
* @note requires \p CH_USE_SEMAPHORES.
@@ -134,11 +138,11 @@ /** Configuration option: Frequency of the system timer that drives the system
* ticks. This also defines the system time unit.*/
-#define CH_FREQUENCY 100
+#define CH_FREQUENCY 1000
/** Configuration option: This constant is the number of ticks allowed for the
* threads before preemption occurs.*/
-#define CH_TIME_QUANTUM 10
+#define CH_TIME_QUANTUM 20
/** Configuration option: Defines a CPU register to be used as storage for the
* global \p currp variable. Caching this variable in a register can greatly
|