Temporary traces added for Kilrah and MAC debuggers ...
This commit is contained in:
+2
-2
@@ -104,7 +104,7 @@ bool eeprom_thread_running = true;
|
|||||||
void *eeprom_write_function(void *)
|
void *eeprom_write_function(void *)
|
||||||
{
|
{
|
||||||
printf("on entre dans eeprom_write_function\n"); fflush(stdout);
|
printf("on entre dans eeprom_write_function\n"); fflush(stdout);
|
||||||
while (!sem_wait(&eeprom_write_sem)) {
|
while (!sem_wait(&eeprom_write_sem) || errno==EINTR) {
|
||||||
printf("sortie sem_wait"); fflush(stdout);
|
printf("sortie sem_wait"); fflush(stdout);
|
||||||
if (!eeprom_thread_running)
|
if (!eeprom_thread_running)
|
||||||
return NULL;
|
return NULL;
|
||||||
@@ -148,7 +148,7 @@ void *eeprom_write_function(void *)
|
|||||||
Spi_complete = 1;
|
Spi_complete = 1;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
printf("sortie du thread EEPROM, pas bon avant la fin !!!"); fflush(stdout);
|
printf("sortie du thread EEPROM, pas bon avant la fin !!! errno=%d\n", errno); fflush(stdout);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user