Real2Virtual202111
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
-
|
|
-
!
|
|
|
|
|
|
|
|
|
|
|
-
!
|
|
|
|
!
| #ifndef STRINGQUEUE_H
#define STRINGQUEUE_H
#include "common.h"
#define QMax 127
#define sqMax 4
class StringQueue{
private:
char squeueMem[sqMax][QMax];
char *squeue[sqMax];
int faceIDs[sqMax];
int status[sqMax]; int squeueLength[sqMax];
int currentQNumber;
char *currentQueue;
int currentLength;
int currentStatus;
public:
StringQueue();
int putSQueue(int fid, char *x, int lx);
int getSQueue( char *y);
int getLock( char id);
void unLock(void);
int getReadyQ(void);
int getQueue( int fid);
void clearQueue( int fid);
};
#endif
|
Counter: 41,
today: 1,
yesterday: 0