代码搜索:CreateSemaphore
找到约 47 项符合「CreateSemaphore」的源代码
代码结果 47
www.eeworm.com/read/313074/13597137
dpr recover.dpr
program recover;
uses
Forms,
windows,
start1 in 'start1.pas' {start};
{$R *.res}
begin
createsemaphore(nil,1,1,'my');
if getlasterror()=ERROR_ALREADY_EXISTS then
begin
appli
www.eeworm.com/read/305798/13760873
cpp m.cpp
#include
#include
#include
#include
//缓冲区和信号量
HANDLE g_hBuffer = NULL; //HANDLE表示句柄的意思,相当于一种指向指针的指针
HANDLE g_hSemSynR = NULL, g_hSemSynM = NULL, g_hSem
www.eeworm.com/read/136571/5868693
3 sdl_destroysemaphore.3
.TH "SDL_DestroySemaphore" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference"
.SH "NAME"
SDL_DestroySemaphore\- Destroys a semaphore that was created by \fISDL_CreateSemaphore\fR\&.
.SH "SYNOP
www.eeworm.com/read/133108/5907406
3 sdl_destroysemaphore.3
.TH "SDL_DestroySemaphore" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference"
.SH "NAME"
SDL_DestroySemaphore\- Destroys a semaphore that was created by \fISDL_CreateSemaphore\fR\&.
.SH "SYNOPSIS
www.eeworm.com/read/111374/6154555
3 sdl_destroysemaphore.3
.TH "SDL_DestroySemaphore" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference"
.SH "NAME"
SDL_DestroySemaphore\- Destroys a semaphore that was created by \fISDL_CreateSemaphore\fR\&.
.SH "SYNOPSIS
www.eeworm.com/read/110972/6161229
3 sdl_destroysemaphore.3
.TH "SDL_DestroySemaphore" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference"
.SH "NAME"
SDL_DestroySemaphore\- Destroys a semaphore that was created by \fISDL_CreateSemaphore\fR\&.
.SH "SYNOP
www.eeworm.com/read/286768/8744050
txt 进程p.txt
//进程P
#include
#include
#include
//缓冲区和信号量
HANDLE g_hBuffer = NULL;
HANDLE g_hSemSynR = NULL, g_hSemSynM = NULL, g_hSemSynP = NULL;
char* g_pszBuffer = NULL;
//在
www.eeworm.com/read/286768/8744052
txt 进程r.txt
//进程R
#include
#include
//缓冲区和信号量
HANDLE g_hBuffer = NULL;
HANDLE g_hSemSynR = NULL, g_hSemSynM = NULL, g_hSemSynP = NULL;
char* g_pszBuffer = NULL;
//在缓冲区中的位置指针
unsigned
www.eeworm.com/read/305798/13760868
cpp c.cpp
#include
#include
//缓冲区和信号量
HANDLE g_hBuffer = NULL;
HANDLE g_hSemSynR = NULL, g_hSemSynM = NULL, g_hSemSynP = NULL,g_hSemMutex = NULL;
char* g_pszBuffer = NULL;
//在缓冲区中的位置
www.eeworm.com/read/123319/14638138
cpp p.cpp
#include
#include
//缓冲区和信号量
HANDLE g_hBuffer = NULL;
HANDLE g_hSemSynR = NULL, g_hSemSynM = NULL, g_hSemSynP = NULL;
char* g_pszBuffer = NULL;
//在缓冲区中的位置指针
unsigned char