- Garbage collector for C and C++ . . . . 3 matches
# -DALL_INTERIOR_POINTERS allows all pointers to the interior
# Alternatively, GC_all_interior_pointers can be set at process
# -DDONT_ADD_BYTE_AT_END is meaningful only with -DALL_INTERIOR_POINTERS or
# GC_all_interior_pointers = 1. Normally -DALL_INTERIOR_POINTERS
- 코바예제/시계 . . . . 3 matches
위의 서버 코드를 컴파일하고 실행하게 되면 문자열화된 IOR을 반환할 것이다. 이것은 단지 인수 전달용으로 사용된다.
["IOR"] : 00000012346121112444232....(상당히 긴 숫자임.)
클라이언트 구현은 기본적으로 다음 세 가지 단계를 통해 이루어진다. 먼저 CORBA 환경, 즉 ORB를 초기화한다. ORB를 초기화한다는 것은 ORB 의사 객체(pseudo-object)에 대한 객체 레퍼런스를 얻게 된다는 것을 의미한다. ORB가 '의사 객체'라 불리는 이유는 그 메소드가 런타임 시스템과의 통신을 통해 라이브러리의 형태로 제공되며, 의사 객체 레퍼런스는 CORBA 인터페이스 오퍼레이션에 대한 파라미터로 전달될 수 없기 때문이다. 그 다음 단계는 객체 레퍼런스를 얻는 것이다. 객체 레퍼런스는 불투명한 데이터 구조이다. 그러나 객체 레퍼런스를 문자열로 바꿈으로써 지속성을 가지게 될 수 있다. 이것은 '객체 레퍼런스의 문자열화'라 불리며, 그 결과 얻어지는 문자열을 일컬어 '문자열화 객체 레퍼런스'라고 한다.(IOR) 이 문자열화 객체 레퍼런스는 원래의 "유효한" 객체 레퍼런스로 다시 바뀔 수 있다. 이 과정은 CORBA, 즉 ORB 인터페이스에서 정의된 두 가지 오퍼레이션 object_to_string()과 string_to_object()를 이용하여 이루어진다. 모든 CORBA 2.0 호환 ORB는 상호 운용 가능한 문자열화 객체 레퍼런스를 실제 돌아가는 객체 레퍼런스로 바꿀 수 있다. 적절한 타입으로 객체의 범위를 줄이면 그러한 결과를 얻을 수 있다. 이러한 오퍼레이션을 'narrow'라 한다. ORB를 초기화하고 객체 레퍼런스를 얻은 후에야 CORBA 프로그래밍은 원래 의도한 표준 객체 지향 프로그래밍처럼 동작하게 된다. 클라언트가 객체의 메소드를 호출하게 되면, 실제로 그 메소드는 원격 객체와 함께 동작하지만 클라이언트가 보기에는 지역 객체와 함께 동작하는 것처럼 보인다.
- LIB_1 . . . . 2 matches
// Task 0 is Highest Task :: priority 63
char *sen3 = "Task Name Priority StackSize Running \n";
// Task 1 :: priority 60
LIB_create_task("StatTask\n",LIB_IDLE_PRIORITY + 1,LIB_TASK_CPU_STAT,&OSStack[256]); // 상태를 알아보는 태스크를 만든다.
LIB_create_task("IdleTask\n",LIB_IDLE_PRIORITY,idle_task,&TaskStack3[256]); // 유휴상태일때 돌아가는 idle태스크를 만든다.
- LIB_3 . . . . 2 matches
TCB[count].priority = NULL;
void LIB_create_task (char *task_name,int priority,void (*task)(void),INT16U * Stack)
if ( priority < LIB_MIN_PRIORITY || priority > LIB_MAX_PRIORITY ) return; <--------- 우선순위가 지랄 같으면 그냥 끝낸다.
pReady_heap[ready_tcb_ptr]->priority = priority;
if ( pReady_heap[temp_count]->priority > pReady_heap[tree_parent(temp_count)]->priority ){
void LIB_resume_task(INT16U priority ){
if ( priority == 0 ) return;
if ( pSuspend_heap[i]->priority == priority ) {
if ( pReady_heap[temp]->priority > pReady_heap[tree_parent(temp)]->priority ) {
void LIB_suspend_task(INT16U priority){
if ( pReady_heap[i]->priority == priority ){
if ( pReady_heap[tree_left(temp)]->priority > pReady_heap[temp]->priority ) {
else if ( pReady_heap[tree_right(temp)]->priority > pReady_heap[temp]->priority ) {
if ( pReady_heap[tree_left(temp_count)]->priority > pReady_heap[temp_count]->priority ){
void LIB_resume_list(INT16U priority ){
if ( pSuspend_heap[i]->priority == priority ) {
if ( pReady_heap[temp]->priority > pReady_heap[tree_parent(temp)]->priority ) {
- JavaNetworkProgramming . . . . 1 match
execution.setPriority(Thread.MIN_PRIORITY); //우선수위를 정함
Found 5 matching pages out of 7555 total pages (5000 pages are searched)
You can also click here to search title.