教学用示例代码
This commit is contained in:
parent
2c1ee94af7
commit
63ca470147
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user