原创 linux內核算法1
linux內核算法1 待續
原创 linux內核數據結構 -map
linux內核數據結構 -map 待續
原创 linux內核數據結構 - 其他
linux內核數據結構 - 其他 待續
原创 linux內核算法3
linux內核算法3 待續
原创 linux內核數據結構 - Queue
linux內核數據結構隊列,待續
原创 linux內核數據結構 - tree
linux內核數據結構 - tree 待續
原创 linux內核 - 鎖
linux內核 - 鎖 待續
原创 linux內核數據結構--List
內核鏈表數據結構,待續
原创 linux內核算法2
linux內核算法2 待續
原创 linux內核算法 - 其他
linux內核算法 - 其他 待續
原创 pipe/FIFO IPC
pipe與FIFO功能類似,都是單向通信。管道兩端必須都open以後纔可以通信,否則先open的一端默認阻塞。 pipe作爲無名管道,僅用於近親進程,例如父子進程,同一個進程內的線程等等。 FIFO作爲有名管道,可用於兩個獨立進程的通信。
原创 SystemV IPC 共享內存
shmget http://man7.org/linux/man-pages/man2/shmget.2.html shmat http://man7.org/linux/man-pages/man2/shmat.2.html shmct
原创 Kibana中對ElasticSearch Query查詢用法
以下操作都是在kibana的Dev Tools中進行。 1. 日期range篩選 基本用法: GET /my_index/_search { "query": {"bool": {"must": [{"match_
原创 CAS原子操作以及Pthread Futex
維基百科給出的CAS定義: In computer science, compare-and-swap (CAS) is an atomic instruction used in multithreading to achieve sy
原创 openssl 1.1.1 build, 上層應用option選項及openssl s_client 用法
【build】 ./Configure linux-x86_64 --prefix=/usr shared 如果想提供zlib壓縮,那麼可以加zlib參數: ./Configure linux-x86_64 --prefix=/usr s