This repository has been archived on 2023-01-27. You can view files and clone it, but cannot push or open issues or pull requests.
cad/fusion360/usr/Include/Core/gblasyncblock.h
2022-10-15 19:16:08 +02:00

25 lines
611 B
C++

#pragma once
#include "stdafx.h"
class ExeInThread
{
public:
static CKObjectDeclaration * FillBehaviour( void );
static int CallBack( const CKBehaviorContext& behaviorContext );
static int BehaviourFunction( const CKBehaviorContext& behaviorContext );
static CKERROR CreatePrototype( CKBehaviorPrototype** behaviorPrototypePtr );
enum ThreadStatus {
Idle = 0, Requested = 2, Active = 3};
friend unsigned int BlockingThreadFunction(void *arg);
typedef struct ThreadInfo
{
CKBehavior* targetBeh;
int targetInputToActivate;
} AsyncThreadInfo;
};