当前位置: 首页>>代码示例>>Java>>正文


Java NativeUnsafe.waitForBlockingFunction方法代码示例

本文整理汇总了Java中com.sun.squawk.NativeUnsafe.waitForBlockingFunction方法的典型用法代码示例。如果您正苦于以下问题:Java NativeUnsafe.waitForBlockingFunction方法的具体用法?Java NativeUnsafe.waitForBlockingFunction怎么用?Java NativeUnsafe.waitForBlockingFunction使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.sun.squawk.NativeUnsafe的用法示例。


在下文中一共展示了NativeUnsafe.waitForBlockingFunction方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: call0

import com.sun.squawk.NativeUnsafe; //导入方法依赖的package包/类
public int call0() {
    if (DEBUG) {
        preamble();
    }
    TaskExecutor te = getTE();
    Address ntask = te.runBlockingFunction(funcAddr, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
    int result = NativeUnsafe.waitForBlockingFunction(ntask);
    if (DEBUG) {
        postscript(result);
    }
    te.cleanup();
    return result;
}
 
开发者ID:tomatsu,项目名称:squawk,代码行数:14,代码来源:BlockingFunction.java

示例2: call1

import com.sun.squawk.NativeUnsafe; //导入方法依赖的package包/类
public int call1(int i1) {
    if (DEBUG) {
        preamble();
    }
    TaskExecutor te = getTE();
    Address ntask = te.runBlockingFunction(funcAddr, i1, 0, 0, 0, 0, 0, 0, 0, 0, 0);
    int result = NativeUnsafe.waitForBlockingFunction(ntask);
    if (DEBUG) {
        postscript(result);
    }
    te.cleanup();
    return result;
}
 
开发者ID:tomatsu,项目名称:squawk,代码行数:14,代码来源:BlockingFunction.java

示例3: call3

import com.sun.squawk.NativeUnsafe; //导入方法依赖的package包/类
public int call3(int i1, int i2, int i3) {
    if (DEBUG) {
        preamble();
    }
    TaskExecutor te = getTE();
    Address ntask = te.runBlockingFunction(funcAddr, i1, i2, i3, 0, 0, 0, 0, 0, 0, 0);
    int result = NativeUnsafe.waitForBlockingFunction(ntask);
    if (DEBUG) {
        postscript(result);
    }
    te.cleanup();
    return result;
}
 
开发者ID:tomatsu,项目名称:squawk,代码行数:14,代码来源:BlockingFunction.java

示例4: call7

import com.sun.squawk.NativeUnsafe; //导入方法依赖的package包/类
public int call7(int i1, int i2, int i3, int i4, int i5, int i6, int i7) {
    if (DEBUG) {
        preamble();
    }
    TaskExecutor te = getTE();
    Address ntask = te.runBlockingFunction(funcAddr, i1, i2, i3, i4, i5, i6, i7, 0, 0, 0);
    int result = NativeUnsafe.waitForBlockingFunction(ntask);
    if (DEBUG) {
        postscript(result);
    }
    te.cleanup();
    return result;
}
 
开发者ID:tomatsu,项目名称:squawk,代码行数:14,代码来源:BlockingFunction.java

示例5: call4

import com.sun.squawk.NativeUnsafe; //导入方法依赖的package包/类
public int call4(int i1, int i2, int i3, int i4) {
    if (DEBUG) {
        preamble();
    }
    TaskExecutor te = getTE();
    Address ntask = te.runBlockingFunction(funcAddr, i1, i2, i3, i4, 0, 0, 0, 0, 0, 0);
    int result = NativeUnsafe.waitForBlockingFunction(ntask);
    if (DEBUG) {
        postscript(result);
    }
    te.cleanup();
    return result;
}
 
开发者ID:tomatsu,项目名称:squawk,代码行数:14,代码来源:BlockingFunction.java

示例6: call5

import com.sun.squawk.NativeUnsafe; //导入方法依赖的package包/类
public int call5(int i1, int i2, int i3, int i4, int i5) {
    if (DEBUG) {
        preamble();
    }
    TaskExecutor te = getTE();
    Address ntask = te.runBlockingFunction(funcAddr, i1, i2, i3, i4, i5, 0, 0, 0, 0, 0);
    int result = NativeUnsafe.waitForBlockingFunction(ntask);
    if (DEBUG) {
        postscript(result);
    }
    te.cleanup();
    return result;
}
 
开发者ID:tomatsu,项目名称:squawk,代码行数:14,代码来源:BlockingFunction.java

示例7: call10

import com.sun.squawk.NativeUnsafe; //导入方法依赖的package包/类
public int call10(int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9, int i10) {
    if (DEBUG) {
        preamble();
    }
    TaskExecutor te = getTE();
    Address ntask = te.runBlockingFunction(funcAddr, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10);
    int result = NativeUnsafe.waitForBlockingFunction(ntask);
    if (DEBUG) {
        postscript(result);
    }
    te.cleanup();
    return result;
}
 
开发者ID:tomatsu,项目名称:squawk,代码行数:14,代码来源:BlockingFunction.java

示例8: call8

import com.sun.squawk.NativeUnsafe; //导入方法依赖的package包/类
public int call8(int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8) {
    if (DEBUG) {
        preamble();
    }
    TaskExecutor te = getTE();
    Address ntask = te.runBlockingFunction(funcAddr, i1, i2, i3, i4, i5, i6, i7, i8, 0, 0);
    int result = NativeUnsafe.waitForBlockingFunction(ntask);
    if (DEBUG) {
        postscript(result);
    }
    te.cleanup();
    return result;
}
 
开发者ID:tomatsu,项目名称:squawk,代码行数:14,代码来源:BlockingFunction.java

示例9: call9

import com.sun.squawk.NativeUnsafe; //导入方法依赖的package包/类
public int call9(int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9) {
    if (DEBUG) {
        preamble();
    }
    TaskExecutor te = getTE();
    Address ntask = te.runBlockingFunction(funcAddr, i1, i2, i3, i4, i5, i6, i7, i8, i9, 0);
    int result = NativeUnsafe.waitForBlockingFunction(ntask);
    if (DEBUG) {
        postscript(result);
    }
    te.cleanup();
    return result;
}
 
开发者ID:tomatsu,项目名称:squawk,代码行数:14,代码来源:BlockingFunction.java

示例10: call2

import com.sun.squawk.NativeUnsafe; //导入方法依赖的package包/类
public int call2(int i1, int i2) {
    if (DEBUG) {
        preamble();
    }
    TaskExecutor te = getTE();
    Address ntask = te.runBlockingFunction(funcAddr, i1, i2, 0, 0, 0, 0, 0, 0, 0, 0);
    int result = NativeUnsafe.waitForBlockingFunction(ntask);
    if (DEBUG) {
        postscript(result);
    }
    te.cleanup();
    return result;
}
 
开发者ID:tomatsu,项目名称:squawk,代码行数:14,代码来源:BlockingFunction.java

示例11: call6

import com.sun.squawk.NativeUnsafe; //导入方法依赖的package包/类
public int call6(int i1, int i2, int i3, int i4, int i5, int i6) {
    if (DEBUG) {
        preamble();
    }
    TaskExecutor te = getTE();
    Address ntask = te.runBlockingFunction(funcAddr, i1, i2, i3, i4, i5, i6, 0, 0, 0, 0);
    int result = NativeUnsafe.waitForBlockingFunction(ntask);
    if (DEBUG) {
        postscript(result);
    }
    te.cleanup();
    return result;
}
 
开发者ID:tomatsu,项目名称:squawk,代码行数:14,代码来源:BlockingFunction.java


注:本文中的com.sun.squawk.NativeUnsafe.waitForBlockingFunction方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。