This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
from lxml.html import parse | |
from urllib2 import urlopen | |
import os | |
import time | |
import sys | |
JUICK_URL = "http://juick.com/" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <pthread.h> | |
#include <stdio.h> | |
int count = 100; | |
pthread_mutex_t mutex; | |
void* adder( void *counter){ | |
int tid, cnt; | |
/* tid = (int)threadid; */ |
NewerOlder