publish changes
This commit is contained in:
parent
afc5064a7b
commit
ac2c6ac843
1605 changed files with 3354 additions and 3354 deletions
|
@ -1,7 +1,7 @@
|
|||
#ifndef NULLSOFT_AUTOCHARH
|
||||
#define NULLSOFT_AUTOCHARH
|
||||
#ifdef WIN32
|
||||
#include <windows.h>
|
||||
#include <arch.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
inline char *AutoCharDupN(const wchar_t *convert, size_t len, UINT codePage = CP_ACP, UINT flags=0)
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#ifdef _WIN32
|
||||
#pragma warning (disable:4786)
|
||||
#include <windows.h>
|
||||
#include <arch.h>
|
||||
#elif defined(__linux__) || defined(__APPLE__)
|
||||
#include <pthread.h>
|
||||
#else
|
||||
|
@ -24,7 +24,7 @@ any threads using the mutex, and their function stack
|
|||
#include <deque> // we make a list of the recursive function stack for each thread
|
||||
#include <map> // and map
|
||||
#include <iostream> // we output to std::cerr
|
||||
#include <windows.h>
|
||||
#include <arch.h>
|
||||
|
||||
|
||||
/*****
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef AUTOWIDEH
|
||||
#define AUTOWIDEH
|
||||
#ifdef WIN32
|
||||
#include <windows.h>
|
||||
#include <arch.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
inline wchar_t *AutoWideDup(const char *convert, UINT codePage=CP_ACP)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "LockFreeLIFO.h"
|
||||
#include "foundation/atomics.h"
|
||||
|
||||
/* TODO: on windows, replace with InitializeSListHead/InterlockedPushEntrySList/InterlockedPopEntrySList just to be safe */
|
||||
/* TODO: on arch, replace with InitializeSListHead/InterlockedPushEntrySList/InterlockedPopEntrySList just to be safe */
|
||||
void lifo_init(lifo_t *lifo)
|
||||
{
|
||||
lifo->head = 0;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#pragma once
|
||||
#include <windows.h>
|
||||
#include <arch.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
|
|
|
@ -92,26 +92,26 @@
|
|||
</VcpkgInstalledDir>
|
||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
||||
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<VcpkgInstalledDir>
|
||||
</VcpkgInstalledDir>
|
||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
||||
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<VcpkgInstalledDir>
|
||||
</VcpkgInstalledDir>
|
||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
||||
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||
<VcpkgConfiguration>Debug</VcpkgConfiguration>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<VcpkgInstalledDir>
|
||||
</VcpkgInstalledDir>
|
||||
<VcpkgUseStatic>false</VcpkgUseStatic>
|
||||
<VcpkgTriplet>x86-windows-static-md</VcpkgTriplet>
|
||||
<VcpkgTriplet>x86-arch-static-md</VcpkgTriplet>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include <string.h>
|
||||
|
||||
#ifdef WIN32
|
||||
#include <windows.h>
|
||||
#include <arch.h>
|
||||
#else
|
||||
#include <pthread.h>
|
||||
#endif //WIN32
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
|
||||
#include "nu/queue_node.h"
|
||||
#include <windows.h>
|
||||
#include <arch.h>
|
||||
#include <malloc.h>
|
||||
|
||||
/* lock free stack object
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#include "nu/lfmpscq.h"
|
||||
#include "nu/LockFreeLIFO.h"
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include <arch.h>
|
||||
|
||||
struct threadloop_node_t : public queue_node_t
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
#include "nu/lfmpscq.h"
|
||||
#include "nu/LockFreeLIFO.h"
|
||||
#include <windows.h>
|
||||
#include <arch.h>
|
||||
|
||||
struct threadloop_node_t : public queue_node_t
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#include "foundation/types.h"
|
||||
#include "nu/lfmpscq.h"
|
||||
#include "nu/LockFreeLIFO.h"
|
||||
#include <windows.h>
|
||||
#include <arch.h>
|
||||
|
||||
namespace nu
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
#include "nu/lfmpscq.h"
|
||||
#include "nu/LockFreeLIFO.h"
|
||||
#include <windows.h>
|
||||
#include <arch.h>
|
||||
|
||||
struct threadloop_node_t : public queue_node_t
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue