change synchprobs codes for reliable test.

This commit is contained in:
Yihong Chen
2016-02-01 10:40:24 -05:00
parent 59d447acf6
commit 5e3334057a
4 changed files with 62 additions and 55 deletions

View File

@@ -87,27 +87,30 @@ void stoplight_cleanup() {
}
void
turnright(uint32_t direction)
turnright(uint32_t direction, uint32_t index)
{
(void)direction;
(void)index;
/*
* Implement this function.
*/
return;
}
void
gostraight(uint32_t direction)
gostraight(uint32_t direction, uint32_t index)
{
(void)direction;
(void)index;
/*
* Implement this function.
*/
return;
}
void
turnleft(uint32_t direction)
turnleft(uint32_t direction, uint32_t index)
{
(void)direction;
(void)index;
/*
* Implement this function.
*/

View File

@@ -58,8 +58,9 @@ whalemating_cleanup() {
}
void
male()
male(uint32_t index)
{
(void)index;
/*
* Implement this function by calling male_start and male_end when
* appropriate.
@@ -68,8 +69,9 @@ male()
}
void
female()
female(uint32_t index)
{
(void)index;
/*
* Implement this function by calling female_start and female_end when
* appropriate.
@@ -78,8 +80,9 @@ female()
}
void
matchmaker()
matchmaker(uint32_t index)
{
(void)index;
/*
* Implement this function by calling matchmaker_start and matchmaker_end
* when appropriate.