Giter Site home page Giter Site logo

线程阻塞的问题 about razor HOT 4 CLOSED

 avatar commented on July 24, 2024
线程阻塞的问题

from razor.

Comments (4)

cobub avatar cobub commented on July 24, 2024

we'll move it into a thread in next version. For current version, you can put the operations in a thread.

from razor.

 avatar commented on July 24, 2024

Cobub Razor开发人员您好:
我知道在开源社区一般是用英文交流的。但是由于我的英文水平仅局限在能读懂英文文档的水平,故而只好使用中文跟你交流,见谅。
异常自动捕获这一块我现在正着手采用多线程的方案解决,而且源码中的很多地方我认为都需要使用多线程的方案。但是我有一点不明白的是,需要自动捕获的异常往往是不可预见的,对于此异常我不知道该怎么来处理。我测试过程中故意抛出空指针的异常,测试结果是异常被捕获了但主线程还是被阻塞住而造成了应用的强制关闭。所以在这个问题上我抛弃了多线程的方案,暂时使用捕获到异常后强制退出来解决问题。
其他地方线程阻塞的问题我已经初步使用了多线程来做,代码可能需要进一步的优化。希望能与大家得到进一步的沟通。
谢谢。

Gordon
发件人: Cobub
发送时间: 2012-09-28 15:47
收件人: cobub/razor
抄送: Gordon
主题: Re: [razor] 线程阻塞的问题 (#14)
we'll move it into a thread in next version. For current version, you can put the operations in a thread.

Reply to this email directly or view it on GitHub.

from razor.

cobub avatar cobub commented on July 24, 2024

Is it the catched exception or system crash?
If the error is the catched exception, user should set exception information to Cobub Razor agent.
If the error is system crash, Cobub Razor catch the crash report and send it to server, but the application will crash

from razor.

cobub avatar cobub commented on July 24, 2024

Now all posts are operated in multi-threads.

from razor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.