mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-10 12:22:12 -04:00
first try to draw first logo
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include "f_pc/f_pc_stdcreate_req.h"
|
||||
#include "f_pc/f_pc_manager.h"
|
||||
#include "f_pc/f_pc_debug_sv.h"
|
||||
#include <cstdio>
|
||||
|
||||
void fpcNdRq_RequestQTo(node_create_request* i_request) {
|
||||
fpcLy_CreatedMesg(i_request->layer);
|
||||
@@ -47,10 +48,12 @@ int fpcNdRq_phase_IsCreated(node_create_request* i_request) {
|
||||
}
|
||||
|
||||
int fpcNdRq_phase_Create(node_create_request* i_request) {
|
||||
printf("[DIAG] fpcNdRq_phase_Create: name=%d layer=%p\n", i_request->name, i_request->layer); fflush(stdout);
|
||||
i_request->creating_id =
|
||||
fpcSCtRq_Request(i_request->layer, i_request->name,
|
||||
(stdCreateFunc)i_request->create_req_methods->post_method, i_request,
|
||||
i_request->data);
|
||||
printf("[DIAG] fpcNdRq_phase_Create: creating_id=%d (error=%d)\n", i_request->creating_id, fpcM_ERROR_PROCESS_ID_e); fflush(stdout);
|
||||
if (i_request->creating_id == fpcM_ERROR_PROCESS_ID_e) {
|
||||
return cPhs_UNK3_e;
|
||||
}
|
||||
@@ -140,6 +143,12 @@ int fpcNdRq_Cancel(node_create_request* i_request) {
|
||||
int fpcNdRq_Handler() {
|
||||
node_class* node = l_fpcNdRq_Queue.mpHead;
|
||||
|
||||
static int sNdRqLogCount = 0;
|
||||
if (l_fpcNdRq_Queue.mSize > 0 && sNdRqLogCount < 30) {
|
||||
printf("[DIAG] fpcNdRq_Handler: queue size=%d\n", l_fpcNdRq_Queue.mSize); fflush(stdout);
|
||||
sNdRqLogCount++;
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
if (g_fpcDbSv_service[9] != NULL) {
|
||||
g_fpcDbSv_service[9](&l_fpcNdRq_Queue.mSize);
|
||||
|
||||
Reference in New Issue
Block a user