]> granicus.if.org Git - pdns/commitdiff
Add note about passing pointer to another process
authorAki Tuomi <cmouse@desteem.org>
Tue, 29 Sep 2015 17:22:50 +0000 (20:22 +0300)
committerAki Tuomi <cmouse@desteem.org>
Sat, 3 Oct 2015 21:52:44 +0000 (00:52 +0300)
pdns/distributor.hh

index f431aabe568f1f8e17fdbb485e042a09cae5dc6a..fdd0cd61af9b51a08e4c43ab95abc66fb49c53a8 100644 (file)
@@ -259,6 +259,7 @@ template<class Answer, class Question, class Backend>int MultiThreadDistributor<
 {
   q=new Question(*q);
 
+  // this is passed to other process over pipe and released there
   auto QD=new QuestionData();
   QD->Q=q;
   auto ret = QD->id = nextid++; // might be deleted after write!