Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337211
b: refs/heads/master
c: ad2d255
h: refs/heads/master
i:
  337209: a782206
  337207: 3a8c763
v: v3
  • Loading branch information
SeongJae Park authored and Greg Kroah-Hartman committed Oct 24, 2012
1 parent 77be4f7 commit 1dc75ac
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 52 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 272bf3146f0ae35b17f2f27f4d63fa0392d0eeda
refs/heads/master: ad2d25595870a33d3e38e0bc6960fad144539164
49 changes: 0 additions & 49 deletions trunk/drivers/staging/csr/csr_framework_ext.h
Original file line number Diff line number Diff line change
Expand Up @@ -179,55 +179,6 @@ void CsrGlobalMutexLock(void);
*----------------------------------------------------------------------------*/
void CsrGlobalMutexUnlock(void);

/*----------------------------------------------------------------------------*
* NAME
* CsrThreadCreate
*
* DESCRIPTION
* Create thread function and return a handle to the created thread.
*
* RETURNS
* Possible values:
* CSR_RESULT_SUCCESS in case of success
* CSR_FE_RESULT_NO_MORE_THREADS in case of out of thread resources
* CSR_FE_RESULT_INVALID_POINTER in case one of the supplied pointers is invalid
*
*----------------------------------------------------------------------------*/
CsrResult CsrThreadCreate(void (*threadFunction)(void *pointer), void *pointer,
u32 stackSize, u16 priority,
const char *threadName, CsrThreadHandle *threadHandle);

/*----------------------------------------------------------------------------*
* NAME
* CsrThreadGetHandle
*
* DESCRIPTION
* Return thread handle of calling thread.
*
* RETURNS
* Possible values:
* CSR_RESULT_SUCCESS in case of success
* CSR_FE_RESULT_INVALID_POINTER in case the threadHandle pointer is invalid
*
*----------------------------------------------------------------------------*/
CsrResult CsrThreadGetHandle(CsrThreadHandle *threadHandle);

/*----------------------------------------------------------------------------*
* NAME
* CsrThreadEqual
*
* DESCRIPTION
* Compare thread handles
*
* RETURNS
* Possible values:
* CSR_RESULT_SUCCESS in case thread handles are identical
* CSR_FE_RESULT_INVALID_POINTER in case either threadHandle pointer is invalid
* CSR_RESULT_FAILURE otherwise
*
*----------------------------------------------------------------------------*/
CsrResult CsrThreadEqual(CsrThreadHandle *threadHandle1, CsrThreadHandle *threadHandle2);

/*----------------------------------------------------------------------------*
* NAME
* CsrThreadSleep
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/staging/csr/csr_framework_ext_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ struct CsrEvent {

typedef struct CsrEvent CsrEventHandle;
typedef struct semaphore CsrMutexHandle;
typedef struct CsrThread CsrThreadHandle;

#else /* __KERNEL __ */

Expand All @@ -44,7 +43,6 @@ struct CsrEvent {

typedef struct CsrEvent CsrEventHandle;
typedef pthread_mutex_t CsrMutexHandle;
typedef pthread_t CsrThreadHandle;

#endif /* __KERNEL__ */

Expand Down

0 comments on commit 1dc75ac

Please sign in to comment.