mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-02 11:57:43 +08:00
modify README.md of redis module
This commit is contained in:
parent
70a3a12b94
commit
3e79879e40
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user