Changeset 2f6a7e93 for src/libcfa/concurrency/monitor.c
- Timestamp:
- Nov 8, 2017, 11:27:05 AM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- c6747a1
- Parents:
- 8e0147a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/monitor.c
r8e0147a r2f6a7e93 17 17 18 18 #include <stdlib> 19 #include <inttypes.h> 19 20 20 21 #include "libhdr.h" … … 378 379 // Check that everything is as expected 379 380 assertf( this.monitors != NULL, "Waiting with no monitors (%p)", this.monitors ); 380 verifyf( this.monitor_count != 0, "Waiting with 0 monitors (% i)", this.monitor_count );381 verifyf( this.monitor_count < 32u, "Excessive monitor count (% i)", this.monitor_count );381 verifyf( this.monitor_count != 0, "Waiting with 0 monitors (%"PRIiFAST16")", this.monitor_count ); 382 verifyf( this.monitor_count < 32u, "Excessive monitor count (%"PRIiFAST16")", this.monitor_count ); 382 383 383 384 // Create storage for monitor context … … 462 463 //Check that everything is as expected 463 464 verifyf( this.monitors != NULL, "Waiting with no monitors (%p)", this.monitors ); 464 verifyf( this.monitor_count != 0, "Waiting with 0 monitors (% i)", this.monitor_count );465 verifyf( this.monitor_count != 0, "Waiting with 0 monitors (%"PRIiFAST16")", this.monitor_count ); 465 466 466 467 // Create storage for monitor context
Note: See TracChangeset
for help on using the changeset viewer.