Skip to content

Instantly share code, notes, and snippets.

Chuizheng Meng mengcz13

Block or report user

Report or block mengcz13

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
mengcz13 /
Created May 12, 2017
CLOOK, funtion: Disk.DoCLOOK(self, rList)
#! /usr/bin/env python
from Tkinter import *
from types import *
import math, random, time, sys, os
from optparse import OptionParser
from decimal import *
mengcz13 / sync04_barber.c
Created May 6, 2017
Solution for barber problem~
View sync04_barber.c
#include <unistd.h>
#include <pthread.h>
#include <semaphore.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#define N 10
#define TN 3
#define MAX_WTIME 5
You can’t perform that action at this time.