Skip to content

Instantly share code, notes, and snippets.

@dspezia
dspezia / example.c
Created November 26, 2012 18:26
Example of Redis zset polling daemon
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <signal.h>
#include <time.h>
#include "hiredis.h"
#include "async.h"
#include "adapters/ae.h"
#include "sha1.h"