Commit Graph

276 Commits (e4871c205ffa3b3e0ad3853ba8728d8eb85b6ad6)

Author SHA1 Message Date
yuqing 5cb9066ed1 upgrade php-fastcommon version to 1.0.6 2016-05-16 09:06:07 +08:00
yuqing 064c4730e4 id generator support extra bits 2016-05-14 19:37:55 +08:00
yuqing f829bd5e88 id generator support variable sn bits 2016-04-15 14:46:30 +08:00
yuqing a6f4fe6a3e refine remark info 2016-04-14 14:55:46 +08:00
yuqing 50236cd764 id generator test printf 2016-04-12 11:23:43 +08:00
yuqing 3b68b068b1 refine sn sprintf format 2016-04-11 09:30:54 +08:00
Yuqing f895a970c6 use local private ip first as machine id 2016-04-10 20:22:03 +08:00
Yuqing 324d6db66f php extension support id generator 2016-04-10 19:01:47 +08:00
Yuqing 9ddd1b8f03 beautify debug info 2016-04-10 17:52:25 +08:00
Yuqing b16e56b9a3 id generator for multi processes 2016-04-10 17:44:10 +08:00
yuqing 8104af5d27 add id generator for multi processes 2016-04-10 00:22:50 +08:00
yuqing 6bd718079e add file lock and unlock functions 2016-04-09 22:11:28 +08:00
liaozaixue 743399a442 wrapper resource interface for php7 2016-04-05 16:21:00 +08:00
liaozaixue 94a5f932e4 add zval_ptr_dtor wrapper for php7 2016-04-05 13:56:33 +08:00
yuqing b2b933e5a7 add function fd_set_cloexec 2016-03-31 15:51:58 +08:00
yuqing 1bdc948909 remove debug info 2016-03-18 08:44:18 +08:00
yuqing 0103aef791 add logger parameter: compress_log_days_before 2016-03-16 09:18:57 +08:00
yuqing ef8d758a3c support compress log file in new thread 2016-03-01 16:00:29 +08:00
yuqing 72f0214695 logger support compress the log file 2016-02-29 18:37:10 +08:00
liaozaixue c7ba512e09 add zend_hash_index_find_wrapper 2016-02-26 18:13:22 +08:00
yuqing 3f15350bb0 Merge branch 'master' of github.com:happyfish100/libfastcommon 2016-02-22 18:35:37 +08:00
yuqing 09bc970dab bugfixed: free task point correctly in free_queue_destroy 2016-02-22 18:34:41 +08:00
Yu Qing fa404e98df add macro HAVE_USER_H 2016-02-19 14:56:38 +08:00
Yu Qing e32e6315b5 compile passed in FreeBSD 10.2 2016-02-19 11:27:39 +08:00
yuqing d5183cffb6 php7_ext_wrapper.h add more macro defines 2016-02-19 10:13:30 +08:00
Yu Qing f4313d4669 add macro HAVE_VMMETER_H 2016-02-18 16:52:56 +08:00
yuqing 9f8acd52e9 php extension use php7_ext_wrapper.h 2016-02-15 11:35:54 +08:00
yuqing cfad73a8d5 add php7_ext_wrapper.h for php7 migration 2016-02-15 11:21:29 +08:00
YuQing a1c28b4914 Merge pull request #6 from lichhaosysu/master
pthread_pool bug fix
2016-02-14 12:16:49 +08:00
yuqing 96bb553688 delete pid file check pid 2016-02-11 13:56:18 +08:00
yuqing 3042d28d2a add comments 2016-02-11 13:19:36 +08:00
相见欢 ea449d773c pthread_pool bug fix 2016-02-07 13:04:01 +08:00
yuqing c6a41be8b9 add comments 2016-02-03 16:03:08 +08:00
Yu Qing 39b0a94eb2 set tv_usec 0 in Linux 2016-02-02 16:37:31 +08:00
yuqing b1a6bbfa27 output file device 2016-02-02 15:05:30 +08:00
Yu Qing 6c74629633 compile passed in mac os 2016-02-02 10:13:18 +08:00
yuqing 0e11466085 output file inode 2016-02-02 08:52:17 +08:00
yuqing a8b9d024e3 define nsec of file stat in Linux and FreeBSD 2016-02-01 15:07:06 +08:00
YuQing 08d3932845 Merge pull request #5 from lichhaosysu/master
io_opt.c bug fix
2016-02-01 09:41:29 +08:00
Yu Qing 283f16db7d remove useless variable 2016-01-29 14:59:28 +08:00
lichhaosysu e1d140c7e5 io_opt.c bug fix 2016-01-29 14:42:44 +08:00
yuqing 7b9b40d2f5 use timeval instead of second 2016-01-29 14:40:34 +08:00
Yu Qing 0165a3357b compile by mac os 2016-01-29 10:17:32 +08:00
yuqing e4876f0c61 add get_sysinfo 2016-01-28 12:26:11 +08:00
Yu Qing 0758be6e88 sysinfo for FreeBSD 2016-01-28 11:30:07 +08:00
yuqing 7b61231508 Merge branch 'master' of github.com:happyfish100/libfastcommon 2016-01-27 22:51:52 +08:00
yuqing 74715cb089 iovent bug fixed for FreeBSD 2016-01-27 22:51:13 +08:00
yuqing 4a6b6a6576 linux process starttime as Unix timestamp 2016-01-27 18:38:35 +08:00
Yu Qing 8a77902f34 iOS test ok 2016-01-27 18:14:36 +08:00
yuqing 4421133912 get_processes support FreeBSD 2016-01-27 17:52:46 +08:00
yuqing 94feb0b311 change log level 2016-01-26 21:53:25 +08:00
yuqing c18387c7f8 add test_blocked_queue 2016-01-26 19:16:23 +08:00
yuqing 9229a5cf0b add blocked_queue_terminate 2016-01-26 09:52:31 +08:00
yuqing cb82009656 add fast_blocked_queue.[hc] 2016-01-26 09:42:53 +08:00
yuqing d911109689 test changed 2016-01-25 17:47:55 +08:00
yuqing 6c7852cdab format 2016-01-20 21:57:36 +08:00
yuqing 12c1355c2a export function task_queue_get_new_buffer_size 2016-01-19 14:28:44 +08:00
yuqing 9c7a510803 do NOT use function xxxmntent in linux 2016-01-18 15:32:32 +08:00
yuqing a786f36d65 getlocaladdrs 2016-01-18 10:17:45 +08:00
yuqing 05e01ce113 getlocaladdrs fixed 2016-01-17 22:48:30 +08:00
yuqing 481f57befa add micro HAVE_FILE_SYSTEM_ID check 2016-01-14 18:48:37 +08:00
yuqing e73b37f7da ini_file_reader add iniGetSectionNames and iniGetSectionItems 2016-01-14 17:09:26 +08:00
yuqing bb57593f14 test_mblock ok 2016-01-14 13:35:10 +08:00
yuqing 0fc9297155 add function get_processes for Linux 2016-01-14 12:29:14 +08:00
yuqing 6af9b0d52d return EOPNOTSUPP on other unix system 2016-01-13 16:30:03 +08:00
yuqing 00d5c43b50 remove useless variable 2016-01-12 18:20:25 +08:00
Yu Qing 6ddfdf1265 compile Ok in mac OS 2016-01-12 16:47:15 +08:00
yuqing 10c15228ec add function get_mounted_filesystems 2016-01-12 16:32:26 +08:00
yuqing 700f8d2c2b add system_info.h and system_info.c 2016-01-12 15:14:47 +08:00
Yu Qing c2b66b3ced format if mac address 2016-01-12 11:18:29 +08:00
yuqing 1c6a73d4f3 support get local mac addresses 2016-01-12 10:56:07 +08:00
yuqing 5d130c1608 remove debug info 2016-01-11 18:25:53 +08:00
yuqing 66e2db7b6f add skiplist wrapper 2015-12-30 11:16:06 +08:00
yuqing a1fc869430 support free data callback 2015-12-29 16:55:29 +08:00
yuqing 9dc2f2901e skiplist add find_all and delete_all 2015-12-29 14:21:36 +08:00
yuqing a6ac2867c1 add tests/test_multi_skiplist.c 2015-12-29 12:23:59 +08:00
yuqing 5bae0d57cb support multi skiplist 2015-12-29 12:23:03 +08:00
yuqing 866c8a83fe support multi skiplist 2015-12-28 17:03:34 +08:00
yuqing 7de0f850e4 make.sh changed 2015-12-27 13:48:10 +08:00
yuqing a6ef605c6e skiplist support stable sort 2015-12-25 19:02:36 +08:00
yuqing 159d69983b test code modified 2015-12-25 16:56:52 +08:00
yuqing c8024b10e0 test_skiplist.c 2015-12-25 16:32:04 +08:00
yuqing d07af5dda8 make.sh: replace perl with sed 2015-12-25 16:26:26 +08:00
yuqing 0bb237190d skiplist bugfixed 2015-12-25 16:06:43 +08:00
yuqing 74fe4c8889 add skiplist 2015-12-24 18:20:14 +08:00
liuwei 62e9004f2c fixed rpm build error 2015-11-18 10:59:16 +08:00
yuqing 9828c45343 add function fast_mblock_init_ex1 2015-11-16 13:48:26 +08:00
Yu Qing b6eb0e20da add fast_buffer 2015-11-13 15:13:28 +08:00
Yu Qing d49bfa7294 allocator support reclaim 2015-11-06 18:57:39 +08:00
Yu Qing c39a4915de mblock support trunk malloc check and notify 2015-11-06 15:19:07 +08:00
Yu Qing 00056480d4 mblock stat output alloc_bytes 2015-11-06 10:34:51 +08:00
Yu Qing 389234ff76 fast allocator ok 2015-11-05 18:44:12 +08:00
Yu Qing fb5abf5927 add fast_allocator 2015-11-04 17:19:36 +08:00
yuqing 0fe90e35da add function get_sys_cpu_count() 2015-11-04 15:02:56 +08:00
yuqing f734884700 fast_mblock reclaimed object pool 2015-11-03 18:13:51 +08:00
yuqing 8f26a0a354 use pthread_detach 2015-11-03 09:55:43 +08:00
yuqing 07c93f6206 delay task can execute in a new thread 2015-11-02 18:24:26 +08:00
yuqing 3e1d1e2ae1 add function get_sys_total_mem_size, ONLY support Linux and FreeBSD 2015-11-02 16:19:49 +08:00
yuqing 81f75a019c stat_print output memory usage summary 2015-10-30 17:30:22 +08:00
yuqing cc070f18f4 modify mblock stat ratio 2015-10-30 16:01:16 +08:00