CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Abalfazl

Page 1 of 5 1 2 3 4

Search: Search took 0.04 seconds.

  1. Thread: wait/notify

    by Abalfazl
    Replies
    0
    Views
    886

    wait/notify

    public class Airport {
    public static void main(String[] args) throws InterruptedException {
    passenger p = new passenger();
    p.start();
    ...
  2. Replies
    2
    Views
    1,799

    Re: Stuxnet and driver

    May you give me a simple code for DLL injection and explain more about it?
  3. Replies
    2
    Views
    1,799

    Stuxnet and driver

    As far as I know, driver is used to be an interface between OS and hardware.

    Both Duqu and Stuxnet use a kernel driver to decrypt and load certain encrypted files on the infected computer. The...
  4. Replies
    1
    Views
    747

    stream, pipeline

    Please correct me If I am wrong.

    Say there is file X and process A want to write on file X.

    A stream is a sequence of bytes. In the NTFS file system, streams contain the data that is written to...
  5. Thread: Thread dump

    by Abalfazl
    Replies
    1
    Views
    818

    Thread dump

    I use Netbeans,I press CTRL-BREAK while I run the program in this link about deadlock , but I didn't see anything.I want to see thread dump.
    ...
  6. Replies
    9
    Views
    1,588

    Re: advantage of using thread

    1-What is thread mapping?

    2-What is native thread?What its difference with green thread?
  7. Thread: join()

    by Abalfazl
    Replies
    4
    Views
    1,001

    Re: join()

    public class Main {

    public static void main(String[] args){


    Thread a=new SimpleThread("Jamaica");
    a.start();
    try{
    a.join();
    ...
  8. Replies
    9
    Views
    1,588

    Re: advantage of using thread

    http://www.cs.umd.edu/class/fall2007/cmsc132/lectures/26-Threads-6p.pdf

    Page 4

    Scheduler is part of OS or Java Virtual Machine (JVM)

    May you explain more about mechanism of Scheduler?
  9. Replies
    9
    Views
    1,588

    Re: advantage of using thread

    Code each line block with one mind. Let the OS thread scheduler do the interleaving.


    1-Is it the Os or is it the JVM choose which thread to run?

    2- What is the relationship between JVM and ...
  10. Replies
    9
    Views
    1,588

    Re: advantage of using thread

    http://marcja.wordpress.com/2007/04/06/four-reasons-to-use-multithreading/


    What do you understand from this?
  11. Replies
    9
    Views
    1,588

    advantage of using thread

    The key in using threads to simplify your code is to try to keep your functions and methods on one train of thought. Rather than turn your code into an arthritic mess trying to interleave multiple...
  12. Thread: join()

    by Abalfazl
    Replies
    4
    Views
    1,001

    join()

    public class Main {

    public static void main(String[] args){

    new SimpleThread("Fiji").start();
    Thread a=new SimpleThread("Jamaica");
    a.start();
    ...
  13. Thread: notifyAll

    by Abalfazl
    Replies
    2
    Views
    1,914

    Re: notifyAll

    notifyAll();
    System.out.println(" START");
    for ( i=100;i<=400;i+=100){
    System.out.println("distance="+ i );
    }



    This is the way...
  14. Thread: notifyAll

    by Abalfazl
    Replies
    2
    Views
    1,914

    notifyAll

    I wanted to write a program about notifyAll:






    public class Main {

    /** Creates a new instance of Main */
  15. Thread: synchronized

    by Abalfazl
    Replies
    3
    Views
    1,113

    Re: synchronized

    Thanks!

    But may you answer the first question?
  16. Thread: synchronized

    by Abalfazl
    Replies
    3
    Views
    1,113

    synchronized

    I wrote a code about synchronized in JAVA , according to the example of this book







    public class deduct {
  17. Replies
    2
    Views
    1,464

    volatile VS synchronization

    volatile VS synchronization

    What is advantage of volatile of memory and cache?
  18. Thread: getter setter

    by Abalfazl
    Replies
    6
    Views
    1,148

    Re: getter setter

    No problem Sir, The problem of that has been solved

    But Thank you very much indeed for your help,

    The most important thing is you decide to help others
  19. Thread: getter setter

    by Abalfazl
    Replies
    6
    Views
    1,148

    Re: getter setter

    Sir , What is obvious is you answer carelessly .




    class calculate {
    private int profitRate=20;
    public long i,j;

    public void CalculatedMoneyAmount(customer obj){
  20. Thread: getter setter

    by Abalfazl
    Replies
    6
    Views
    1,148

    Re: getter setter

    I know ,But I want to use getter setter to learn about this matter .




    class calculate {
    private int profitRate=20;
    public long i,j;

    public void CalculatedMoneyAmount(customer obj){
  21. Thread: getter setter

    by Abalfazl
    Replies
    6
    Views
    1,148

    getter setter

    class calculate {
    private int profitRate=20;
    public long i;
    customer obj=new customer("Mr.Stevens",189745329,40000000);
    public void CalculatedMoneyAmount(){
    i=( obj.getmoney() +(...
  22. Replies
    8
    Views
    2,725

    Re: Flyweight Pattern

    http://www.developer.com/design/article.php/3677501

    If I use the flyweight pattern so that I only store unique Time instances, I can reduce the maximum number of typical time objects to 96 (24...
  23. Replies
    8
    Views
    2,725

    Re: Flyweight Pattern

    I cann't understand the code in that article,I need explain by code!
  24. Replies
    8
    Views
    2,725

    Flyweight Pattern

    Hi!

    Please explain about Flyweight Pattern

    From this site:http://www.allapplabs.com/java_design_patterns/flyweight_pattern.htm


    The typical example you can see on this in every book will be...
  25. Replies
    1
    Views
    857

    Facade Pattern

    http://www.allapplabs.com/java_design_patterns/facade_pattern.htm




    package structural.facade;

    public class FinishedGoodsStore implements Store {
    public Goods getGoods() {...
Results 1 to 25 of 102
Page 1 of 5 1 2 3 4





Click Here to Expand Forum to Full Width

Featured