Skip to content

Commit 4434c1d

Browse files
committed
UPDATE: thrd-others to thrd-pthread
Changes to be committed: - modified: impl/inc/ae2f/Sys/.thrd/core.h - modified: impl/inc/ae2f/Sys/Thrd.h - renamed: impl/src/thrd/others.c -> impl/src/thrd/pthread.c
1 parent b14e702 commit 4434c1d

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

impl/inc/ae2f/Sys/.thrd/core.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ enum AE2FSYS_THRD_ {
3131

3232
#define AE2FSYS_THRD_WINDOWS _AE2FSYS_PROBE_WINDOWS
3333
#define AE2FSYS_THRD_LINUX _AE2FSYS_PROBE_LINUX
34-
#define AE2FSYS_THRD_OTHERS (!(_AE2FSYS_PROBE_WINDOWS || _AE2FSYS_PROBE_LINUX))
34+
#define AE2FSYS_THRD_PTHREAD (!(AE2FSYS_THRD_WINDOWS || AE2FSYS_THRD_LINUX))
3535

3636
#endif

impl/inc/ae2f/Sys/Thrd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
#include "./.thrd/linux.h"
55
#include "./.thrd/windows.h"
6-
#include "./.thrd/others.h"
6+
#include "./.thrd/pthread.h"
77

88
/**
99
* @typedef ae2fsys_thrdres_t
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/**
2-
* @file others.c
3-
* @brief pthread
2+
* @file pthread.c
3+
* @brief posix thead
44
* */
55

6-
#ifndef ae2fsys_thrd_others_h
7-
#define ae2fsys_thrd_others_h
6+
#ifndef ae2fsys_thrd_pthread_h
7+
#define ae2fsys_thrd_pthread_h
88
#include <ae2f/Sys/.thrd/core.h>
9-
#if AE2FSYS_THRD_OTHERS
9+
#if AE2FSYS_THRD_PTHREAD
1010

1111
/************************/
1212

0 commit comments

Comments
 (0)