![]()  | 
								
									 
										tgrekov-philosophers
									 
									
										HIVE philosophers July 2024
									 
								 | 
							
Definition in file wrap_ix.c.
Go to the source code of this file.
Functions | |
| int | wrap_ix (int i, int max) | 
Wrap a circular index, such that indices below zero are equal to max - i and indices above max continue from zero.   | |