Tasklet API cleanup.

This commit is contained in:
Jonathan Hui
2017-03-02 10:24:55 -08:00
parent 10e5b9a38f
commit 77bc491c56
23 changed files with 98 additions and 40 deletions
@@ -1032,7 +1032,7 @@ otLwfEventWorkerThread(
else if (status == STATUS_WAIT_0 + 4) // EventWorkerThreadProcessTasklets fired
{
// Process all tasklets that were indicated to us from OpenThread
otProcessQueuedTasklets(pFilter->otCtx);
otTaskletsProcess(pFilter->otCtx);
}
else if (status == STATUS_WAIT_0 + 5) // SendNetBufferListComplete fired
{
+1 -1
View File
@@ -64,7 +64,7 @@ RtlCopyBufferToMdl(
#include <openthread.h>
#include <openthread-icmp6.h>
#include <openthread-ip6.h>
#include <openthread-tasklet.h>
#include <openthread/tasklet.h>
#include <commissioning/commissioner.h>
#include <commissioning/joiner.h>
#include <dhcp6/dhcp6_server.h>
+2 -2
View File
@@ -284,9 +284,9 @@ ThreadError otPlatRandomSecureGet(uint16_t aInputLength, uint8_t *aOutput, uint1
return kThreadError_None;
}
void otSignalTaskletPending(_In_ otInstance *otCtx)
void otTaskletsSignalPending(_In_ otInstance *otCtx)
{
LogVerbose(DRIVER_DEFAULT, "otSignalTaskletPending");
LogVerbose(DRIVER_DEFAULT, "otTaskletsSignalPending");
PMS_FILTER pFilter = otCtxToFilter(otCtx);
otLwfEventProcessingIndicateNewTasklet(pFilter);
}