Linux cpanel2.daytoncreative.net 2.6.32-754.29.2.el6.x86_64 #1 SMP Tue May 12 17:39:04 UTC 2020 x86_64
Apache/2.4.43 (cPanel) OpenSSL/1.1.1g mod_bwlimited/1.4
Server IP : 70.62.220.67 & Your IP : 216.73.216.193
Domains :
Cant Read [ /etc/named.conf ]
User : michaelgreg
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
log /
perl-5.20.2 /
win32 /
Delete
Unzip
Name
Size
Permission
Date
Action
bin
[ DIR ]
drwxr-xr-x
2015-02-14 16:56
ce-helpers
[ DIR ]
drwxr-xr-x
2015-02-14 16:56
include
[ DIR ]
drwxr-xr-x
2015-02-14 16:56
FindExt.pm
3.79
KB
-r--r--r--
2014-12-27 11:49
Makefile
44.88
KB
-rw-r--r--
2015-01-28 21:08
Makefile.ce
29.85
KB
-rw-r--r--
2014-12-27 11:49
config.ce
20.74
KB
-r--r--r--
2015-01-12 20:14
config.gc
21.91
KB
-r--r--r--
2014-12-27 11:49
config.vc
21.84
KB
-r--r--r--
2014-12-27 11:49
config_H.ce
134.25
KB
-rw-r--r--
2015-01-12 20:14
config_H.gc
144.07
KB
-rw-r--r--
2014-12-27 11:49
config_H.vc
143.85
KB
-rw-r--r--
2014-12-27 11:49
config_h.PL
2.37
KB
-r--r--r--
2014-12-27 11:49
config_sh.PL
6.41
KB
-r--r--r--
2014-12-27 11:49
create_perllibst_h.pl
801
B
-r--r--r--
2014-12-27 11:49
distclean.bat
596
B
-r--r--r--
2014-12-27 11:49
fcrypt.c
19.73
KB
-r--r--r--
2014-12-27 11:49
list_static_libs.pl
475
B
-r--r--r--
2014-12-27 11:49
makefile.mk
51.11
KB
-rw-r--r--
2015-01-28 21:08
perl.rc
841
B
-r--r--r--
2014-12-27 11:49
perlexe.ico
2.79
KB
-r--r--r--
2014-12-27 11:49
perlexe.manifest
807
B
-r--r--r--
2014-12-27 11:49
perlexe.rc
199
B
-r--r--r--
2014-12-27 11:49
perlglob.c
1.41
KB
-r--r--r--
2014-12-27 11:49
perlhost.h
52.34
KB
-r--r--r--
2014-12-27 11:49
perllib.c
9.7
KB
-r--r--r--
2014-12-27 11:49
perlmaince.c
768
B
-r--r--r--
2014-12-27 11:49
pod.mak
10.54
KB
-r--r--r--
2015-01-17 16:51
runperl.c
586
B
-r--r--r--
2014-12-27 11:49
vdir.h
17.34
KB
-r--r--r--
2014-12-27 11:49
vmem.h
30.11
KB
-r--r--r--
2014-12-27 11:49
win32.c
115.47
KB
-r--r--r--
2014-12-27 11:49
win32.h
17.73
KB
-r--r--r--
2015-01-12 20:14
win32ceio.c
7.49
KB
-r--r--r--
2014-12-27 11:49
win32io.c
7.45
KB
-r--r--r--
2014-12-27 11:49
win32iop-o.h
10.25
KB
-r--r--r--
2014-12-27 11:49
win32iop.h
13.24
KB
-r--r--r--
2014-12-27 11:49
win32sck.c
20.99
KB
-r--r--r--
2014-12-27 11:49
win32thread.c
644
B
-r--r--r--
2014-12-27 11:49
win32thread.h
5.85
KB
-r--r--r--
2014-12-27 11:49
wince.c
58.95
KB
-r--r--r--
2014-12-27 11:49
wince.h
3.66
KB
-r--r--r--
2014-12-27 11:49
wincesck.c
9.05
KB
-r--r--r--
2014-12-27 11:49
Save
Rename
#ifndef _WIN32THREAD_H #define _WIN32THREAD_H #include "win32.h" typedef struct win32_cond { LONG waiters; HANDLE sem; } perl_cond; typedef DWORD perl_key; typedef HANDLE perl_os_thread; #ifndef DONT_USE_CRITICAL_SECTION /* Critical Sections used instead of mutexes: lightweight, * but can't be communicated to child processes, and can't get * HANDLE to it for use elsewhere. */ typedef CRITICAL_SECTION perl_mutex; #define MUTEX_INIT(m) InitializeCriticalSection(m) #define MUTEX_LOCK(m) EnterCriticalSection(m) #define MUTEX_UNLOCK(m) LeaveCriticalSection(m) #define MUTEX_DESTROY(m) DeleteCriticalSection(m) #else typedef HANDLE perl_mutex; # define MUTEX_INIT(m) \ STMT_START { \ if ((*(m) = CreateMutex(NULL,FALSE,NULL)) == NULL) \ Perl_croak_nocontext("panic: MUTEX_INIT"); \ } STMT_END # define MUTEX_LOCK(m) \ STMT_START { \ if (WaitForSingleObject(*(m),INFINITE) == WAIT_FAILED) \ Perl_croak_nocontext("panic: MUTEX_LOCK"); \ } STMT_END # define MUTEX_UNLOCK(m) \ STMT_START { \ if (ReleaseMutex(*(m)) == 0) \ Perl_croak_nocontext("panic: MUTEX_UNLOCK"); \ } STMT_END # define MUTEX_DESTROY(m) \ STMT_START { \ if (CloseHandle(*(m)) == 0) \ Perl_croak_nocontext("panic: MUTEX_DESTROY"); \ } STMT_END #endif /* These macros assume that the mutex associated with the condition * will always be held before COND_{SIGNAL,BROADCAST,WAIT,DESTROY}, * so there's no separate mutex protecting access to (c)->waiters */ #define COND_INIT(c) \ STMT_START { \ (c)->waiters = 0; \ (c)->sem = Win_CreateSemaphore(NULL,0,LONG_MAX,NULL); \ if ((c)->sem == NULL) \ Perl_croak_nocontext("panic: COND_INIT (%ld)",GetLastError()); \ } STMT_END #define COND_SIGNAL(c) \ STMT_START { \ if ((c)->waiters > 0 && \ ReleaseSemaphore((c)->sem,1,NULL) == 0) \ Perl_croak_nocontext("panic: COND_SIGNAL (%ld)",GetLastError()); \ } STMT_END #define COND_BROADCAST(c) \ STMT_START { \ if ((c)->waiters > 0 && \ ReleaseSemaphore((c)->sem,(c)->waiters,NULL) == 0) \ Perl_croak_nocontext("panic: COND_BROADCAST (%ld)",GetLastError());\ } STMT_END #define COND_WAIT(c, m) \ STMT_START { \ (c)->waiters++; \ MUTEX_UNLOCK(m); \ /* Note that there's no race here, since a \ * COND_BROADCAST() on another thread will have seen the\ * right number of waiters (i.e. including this one) */ \ if (WaitForSingleObject((c)->sem,INFINITE)==WAIT_FAILED)\ Perl_croak_nocontext("panic: COND_WAIT (%ld)",GetLastError()); \ /* XXX there may be an inconsequential race here */ \ MUTEX_LOCK(m); \ (c)->waiters--; \ } STMT_END #define COND_DESTROY(c) \ STMT_START { \ (c)->waiters = 0; \ if (CloseHandle((c)->sem) == 0) \ Perl_croak_nocontext("panic: COND_DESTROY (%ld)",GetLastError()); \ } STMT_END #define DETACH(t) \ STMT_START { \ if (CloseHandle((t)->self) == 0) { \ MUTEX_UNLOCK(&(t)->mutex); \ Perl_croak_nocontext("panic: DETACH"); \ } \ } STMT_END #define THREAD_CREATE(t, f) Perl_thread_create(t, f) #define THREAD_POST_CREATE(t) NOOP /* XXX Docs mention that the RTL versions of thread creation routines * should be used, but that advice only seems applicable when the RTL * is not in a DLL. RTL DLLs seem to do all of the init/deinit required * upon DLL_THREAD_ATTACH/DETACH. So we seem to be completely safe using * straight Win32 API calls, rather than the much braindamaged RTL calls. * * _beginthread() in the RTLs call CloseHandle() just after the thread * function returns, which means: 1) we have a race on our hands * 2) it is impossible to implement join() semantics. * * IOW, do *NOT* turn on USE_RTL_THREAD_API! It is here * for experimental purposes only. GSAR 98-01-02 */ #ifdef USE_RTL_THREAD_API # include <process.h> # if defined (_MSC_VER) # define THREAD_RET_TYPE unsigned __stdcall # define THREAD_RET_CAST(p) ((unsigned)(p)) # else /* CRTDLL.DLL doesn't allow a return value from thread function! */ # define THREAD_RET_TYPE void __cdecl # define THREAD_RET_CAST(p) ((void)(thr->i.retv = (void *)(p))) # endif #else /* !USE_RTL_THREAD_API */ # define THREAD_RET_TYPE DWORD WINAPI # define THREAD_RET_CAST(p) ((DWORD)(p)) #endif /* !USE_RTL_THREAD_API */ typedef THREAD_RET_TYPE thread_func_t(void *); START_EXTERN_C #if defined(PERLDLL) && defined(USE_DECLSPEC_THREAD) extern __declspec(thread) void *PL_current_context; #define PERL_SET_CONTEXT(t) (PL_current_context = t) #define PERL_GET_CONTEXT PL_current_context #else #define PERL_GET_CONTEXT Perl_get_context() #define PERL_SET_CONTEXT(t) Perl_set_context(t) #endif END_EXTERN_C #define INIT_THREADS NOOP #define ALLOC_THREAD_KEY \ STMT_START { \ if ((PL_thr_key = TlsAlloc()) == TLS_OUT_OF_INDEXES) { \ PerlIO_printf(PerlIO_stderr(),"panic: TlsAlloc"); \ exit(1); \ } \ } STMT_END #define FREE_THREAD_KEY \ STMT_START { \ TlsFree(PL_thr_key); \ } STMT_END #define PTHREAD_ATFORK(prepare,parent,child) NOOP #if defined(USE_RTL_THREAD_API) && !defined(_MSC_VER) #define JOIN(t, avp) \ STMT_START { \ if ((WaitForSingleObject((t)->self,INFINITE) == WAIT_FAILED) \ || (GetExitCodeThread((t)->self,(LPDWORD)(avp)) == 0) \ || (CloseHandle((t)->self) == 0)) \ Perl_croak_nocontext("panic: JOIN"); \ *avp = (AV *)((t)->i.retv); \ } STMT_END #else /* !USE_RTL_THREAD_API || _MSC_VER */ #define JOIN(t, avp) \ STMT_START { \ if ((WaitForSingleObject((t)->self,INFINITE) == WAIT_FAILED) \ || (GetExitCodeThread((t)->self,(LPDWORD)(avp)) == 0) \ || (CloseHandle((t)->self) == 0)) \ Perl_croak_nocontext("panic: JOIN"); \ } STMT_END #endif /* !USE_RTL_THREAD_API || _MSC_VER */ #define YIELD Sleep(0) #endif /* _WIN32THREAD_H */