cdev-1.7.2n

This commit is contained in:
2022-12-13 12:44:04 +01:00
commit b3b88fc333
1357 changed files with 338883 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
#include <cdevReactor.h>
#include <stdio.h>
class simpleAcceptor : public cdevEventHandler
{
}
class simpleServer : public cdevEventHandler
{
public:
int handleOpen ( void )
{
}
int handleInput ( void )
{
char block[1024];
}
};
int main ()
{
cdevReactor reactor;
simpleTimer timer;
reactor.registerTimer(&timer);
for(int i=0; i<10; i++) reactor.handleEvents();
}