modify README.md of redis module

This commit is contained in:
zsxxsz 2015-07-24 21:02:13 +08:00
parent 70a3a12b94
commit 3e79879e40

View File

@ -206,8 +206,8 @@ int main(void)
pthread_t id2;
pthread_create(&id2, &attr, thread_main, &cluster);
pthread_join(&id1, NULL);
pthread_join(&id2, NULL);
pthread_join(id1, NULL);
pthread_join(id2, NULL);
return 0;
}
@ -239,9 +239,9 @@ LDFLAGS = -L$(BASE_PATH)/lib_acl_cpp/lib -l_acl_cpp \
-L$(BASE_PATH)/lib_acl/lib -l_acl \
-lpthread
test: main.o
gcc -o main.o $(LDFLAGS)
g++ -o main.o $(LDFLAGS)
main.o: main.cpp
gcc $(CFLAGS) main.cpp -o main.o
g++ $(CFLAGS) main.cpp -o main.o
```
### On WIN32
Open acl_cpp_vc2003.sln/acl_cpp_vc2008.sln/acl_cpp_vc2010.sln/acl_cpp_vc2012.sln, and look at at the redis samples project option setting.