教学用示例代码
This commit is contained in:
@@ -8,10 +8,14 @@ int chosen_strategy = -1;
|
|||||||
|
|
||||||
int FCFSDirection()
|
int FCFSDirection()
|
||||||
{
|
{
|
||||||
|
int rabbish;
|
||||||
|
int a;
|
||||||
|
int b = a + a;
|
||||||
|
// 这是用来产生冲突的代码
|
||||||
return BUS_STOP;
|
return BUS_STOP;
|
||||||
}
|
}
|
||||||
|
|
||||||
bus_query_t *FCFSQuery()
|
bus_query_t *FCFSQuery()
|
||||||
{
|
{
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user