move iomux_impl.h to src/ dir, it's an implementation detail
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include "ucore/iomux_impl.h"
|
#include "iomux_impl.h"
|
||||||
|
|
||||||
//epoll (linux specific) IO mux.
|
//epoll (linux specific) IO mux.
|
||||||
//We stuff the struct IOMuxFD pointer in the event.data.ptr slot
|
//We stuff the struct IOMuxFD pointer in the event.data.ptr slot
|
||||||
|
|||||||
+1
-1
@@ -2,8 +2,8 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <ucore/iomux_impl.h>
|
|
||||||
#include "ucore/clock.h"
|
#include "ucore/clock.h"
|
||||||
|
#include "iomux_impl.h"
|
||||||
|
|
||||||
|
|
||||||
//dispatchers for the IOMux implementations */
|
//dispatchers for the IOMux implementations */
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#ifndef IO_MUX_IMPL_H_
|
#ifndef IO_MUX_IMPL_H_
|
||||||
#define IO_MUX_IMPL_H_
|
#define IO_MUX_IMPL_H_
|
||||||
|
|
||||||
#include "iomux.h"
|
#include "ucore/iomux.h"
|
||||||
#include "timers.h"
|
#include "ucore/timers.h"
|
||||||
/** struct for IOMux implementations */
|
/** struct for IOMux implementations */
|
||||||
struct IOMux {
|
struct IOMux {
|
||||||
|
|
||||||
+1
-1
@@ -5,8 +5,8 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include "ucore/iomux_impl.h"
|
|
||||||
#include "ucore/utils.h"
|
#include "ucore/utils.h"
|
||||||
|
#include "iomux_impl.h"
|
||||||
|
|
||||||
#define IOMUX_GROW_CHUNK (32)
|
#define IOMUX_GROW_CHUNK (32)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user