GithubHelp home page GithubHelp logo

quanbro / aemu Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 1 MB

Automatically exported from code.google.com/p/aemu

JavaScript 0.36% Erlang 0.41% C 93.80% Assembly 0.53% Shell 0.96% C++ 3.32% Makefile 0.05% XSLT 0.28% CSS 0.29%

aemu's People

Contributors

hrimfaxi avatar mrcoldbird avatar

aemu's Issues

Unable to Compile Eclipse for Windows

What steps will reproduce the problem?
1. Try to compile
2. ????
3. Various header files not found, etc.

What is the expected output? What do you see instead?
Compilation succeeds. Compilation failed D:

What version of the product are you using?
Just checked out from SVN. 

Is anyone working on porting the server to windows? because if not I would be 
willing to give it a go.

Original issue reported on code.google.com by [email protected] on 19 Dec 2010 at 8:42

Race condition in _actOnAcceptPacket

there is a race condition in _actOnAcceptPacket:
  _spawnLocalEvent(context, ADHOC_MATCHING_EVENT_ESTABLISHED, sendermac, 0, NULL);
  _spawnLocalEvent(context, ADHOC_MATCHING_EVENT_ACCEPT, sendermac, optlen, opt);

the events could be triggered in the wrong order (i.e. ESTABLISHED before 
ACCEPT) if the _matchingEventThread is scheduled exactly between the 2 calls: 
the event_stack is not locked and the thread could already call the event 
handler with the ESTABLISHED event before the ACCEPT gets queued.

Original issue reported on code.google.com by [email protected] on 12 Jul 2012 at 7:18

Unsafe locking of critical sections

the following code sequence is not safe:

   while (context->event_stack_lock) sceKernelDelayThread(1000);
   context->event_stack_lock = 1;
   ...do something...
   context->event_stack_lock = 0;

A thread reschedule could happen between the test in the "while" and setting 
the lock to "1". The 2 threads could both think the lock is free and both enter 
the critical section at the same time.
Better would be to use a Mutex:
   context->event_stack_mutex = sceKernelCreateMutex("Event Stack", PSP_MUTEX_ATTR_ALLOW_RECURSIVE, 0, NULL);

   sceKernelLockMutex(context->event_stack_mutex, 1, NULL);
   ...do something...
   sceKernelUnlockMutex(context->event_stack_mutex, 1);

The attribute PSP_MUTEX_ATTR_ALLOW_RECURSIVE allows a thread to lock again a 
mutex when it has already been locked by himself. This could be useful to also 
protect the sequence below, see Issue 2 (_spawnLocalEvent will again lock the 
mutex):

   sceKernelLockMutex(context->event_stack_mutex, 1, NULL);
   _spawnLocalEvent(context, ADHOC_MATCHING_EVENT_ESTABLISHED, sendermac, 0, NULL);
   _spawnLocalEvent(context, ADHOC_MATCHING_EVENT_ACCEPT, sendermac, optlen, opt);
   sceKernelUnlockMutex(context->event_stack_mutex, 1);

Original issue reported on code.google.com by [email protected] on 12 Jul 2012 at 7:20

the link to the Prometheus Main Server is broken

What steps will reproduce the problem?
1. go to project home
2. click Prometheus Main Server
3. would bring you to http://www.prometheus.uk.to/ which is no longer around

What is the expected output? What do you see instead?
i expect the link to bring us to http://pro.coldbird.uk.to/

What version of the product are you using? On what operating system?
http://code.google.com/p/aemu/ , linux

Please provide any additional information below.
just update the link on the home page

Original issue reported on code.google.com by [email protected] on 26 Jul 2013 at 4:18

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.