Skip to content

Instantly share code, notes, and snippets.

Jari Komppa jarikomppa

Block or report user

Report or block jarikomppa

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View partialsort.cpp
#include <Windows.h>
#include <math.h>
#include <stdio.h>
#define DATASIZE 1024//*1024
#define SUBSET 32//256
void swap(int *a, int *b)
{
@jarikomppa
jarikomppa / m.py
Last active Oct 8, 2018
using multiple processes now!
View m.py
# Sol's Stupidly Simple Build System v.2.1
# (c) 2018 Jari Komppa http://iki.fi/sol
#
# This software is provided 'as-is', without any express or implied
# warranty. In no event will the authors be held liable for any damages
# arising from the use of this software.
#
# Permission is granted to anyone to use this software for any purpose,
# including commercial applications, and to alter it and redistribute it
# freely, subject to the following restrictions:
View Simple mutex-locked work queue thread pool implementation (win32)
#include <Windows.h>
#include <stdio.h>
namespace Thread
{
typedef void(*threadFunction)(void *aParam);
struct ThreadHandleData;
typedef ThreadHandleData* ThreadHandle;
You can’t perform that action at this time.