We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c099713 commit 493100bCopy full SHA for 493100b
TSRM/TSRM.c
@@ -17,13 +17,6 @@
17
#include <stdio.h>
18
#include <stdarg.h>
19
20
-#ifdef ZEND_DEBUG
21
-# include <assert.h>
22
-# define TSRM_ASSERT assert
23
-#else
24
-# define TSRM_ASSERT
25
-#endif
26
-
27
typedef struct _tsrm_tls_entry tsrm_tls_entry;
28
29
/* TSRMLS_CACHE_DEFINE; is already done in Zend, this is being always compiled statically. */
@@ -479,7 +472,7 @@ void ts_free_thread(void)
479
472
int hash_value;
480
473
tsrm_tls_entry *last=NULL;
481
474
482
- TSRM_ASSERT(!in_main_thread);
475
+ ZEND_ASSERT(!in_main_thread);
483
476
484
477
tsrm_mutex_lock(tsmm_mutex);
485
478
hash_value = THREAD_HASH_OF(thread_id, tsrm_tls_table_size);
0 commit comments