}
-#define mlpNotifyExit( id ) \
+#define mlpNotifyExit() \
while( !isEmpty( current->childQ ) ) { \
current->child = getItem( current->childQ ); \
current = (SESE*) current->child; \
}
+
+void foo() {
+ mlpLog( "f" );
+
+ mlpEnqueue( 20 );
+ if( mlpRet ) {
+ mlpLog( "fc" );
+ mlpNotifyExit();
+
+ } else {
+ mlpLog( "fp" );
+ mlpNotifyExit();
+ }
+}
+
+
+
int main() {
int i;
char lname[10];
sprintf( lname, "Ls%d", 10 + i );
mlpLog( lname );
- mlpNotifyExit( 10 + i );
+ mlpNotifyExit();
} else {
- mlpLog( "i" );
+ sprintf( lname, "%d", i );
+ mlpLog( lname );
}
}
mlpLog( "x" );
- mlpNotifyExit( 1 );
+ mlpNotifyExit();
} else {
mlpLog( "W" );
- mlpNotifyExit( 0 );
+
+ //foo();
+
+ mlpLog( "X" );
+ mlpNotifyExit();
}
printf( "End test.\n" );