Mini Filter 操作訊息的分析

2021-06-21 04:22:16 字數 2075 閱讀 1754



1. 在 create preoperation 的時候, fscontext, fscontext2 ,vpb, sectionobjectpointer 都是 0

2. 在 create postoperation 的時候, fscontext, fscontext2, vpb, sectionobjectpointer 都被初始化成相應的數值

3. 同乙個檔案的不同 file_object 中的 fscontext, fscontext2, vpb, sectionobjectpointer 都相同。

4. 在 create 操作的時候 privatecachemap 是0, 還沒有被賦有效值

第乙個log:

fileobject is : 86909d18

fileobject->fscontext is : e18f30d0

fileobject->fscontext2 is : e20e2e00

fileobject->vpb is : 86f2a7f0

fileobject->sectionobjectpointer is : 86a987f4

fileobject->sectionobjectpointer->datasectionobject is : 86a98b20

fileobject->sectionobjectpointer->imagesectionobject is : 00000000

fileobject->sectionobjectpointer->sharedcachemap is : 00000000

fileobject->relatedfileobject is : 00000000

fileobject->privatecachemap is : 00000000

第二個log:

fileobject is : 86cc17e8

fileobject->fscontext is : e18f30d0

fileobject->fscontext2 is : e1175980

fileobject->vpb is : 86f2a7f0

fileobject->sectionobjectpointer is : 86a987f4

fileobject->sectionobjectpointer->datasectionobject is : 86a98b20

fileobject->sectionobjectpointer->imagesectionobject is : 00000000

fileobject->sectionobjectpointer->sharedcachemap is : 868c66d0

fileobject->relatedfileobject is : 00000000

fileobject->privatecachemap is : 00000000

第三個log:

fileobject is : 868529d8

fileobject->fscontext is : e18f30d0

fileobject->fscontext2 is : e18f3228

fileobject->vpb is : 86f2a7f0

fileobject->sectionobjectpointer is : 86a987f4

fileobject->sectionobjectpointer->datasectionobject is : 86a98b20

fileobject->sectionobjectpointer->imagesectionobject is : 00000000

fileobject->sectionobjectpointer->sharedcachemap is : 868c66d0

fileobject->relatedfileobject is : 00000000

fileobject->privatecachemap is : 00000000

訊息佇列的基本操作

什麼是佇列 佇列的建立 我們知道佇列使用multiprocesing模組的queue,用 實現一下 import multiprocessing 定義訊息佇列 如果不指定佇列長度,則預設為最大,如果指定了訊息佇列的大小,則訊息佇列就有上限控制 此處的queue 3 指的是放入3條訊息 queue m...

rabbitmq訊息手動確認訊息操作說明

bean public messagerecoverer messagerecoverer rabbittemplate rabbittemplate public class rejectanddontrequeuerecoverer implements messagerecoverer thr...

C 操作訊息佇列

傳送物件到佇列中 佇列名稱,因為佇列名稱在乙個應用中應該不改變的,所以大家最好寫在配置檔案中 要發出去的物件 public static void sendqueue string queuepath,mybase.smsqueue sq 檢查佇列,如果佇列不存在,則建立 佇列名稱 private ...