Parallel 5.0 Questions

If I buy a copy of Parallel and install it on my MacBook, would I have to buy a new image of Windows 7, I have it installed on my old dell and I was just wondering if I could transfer it over to the Parallel software.
Thanks in advance.

As you are referring to your "old" Dell... I'm guessing it didn't come with Windows 7 preinstalled and that you have a retail version of Windows 7 that you purchased. Your Microsoft licensing agreement allows for the installation on one machine. A unique activation key is generated based on the hardware in that machine. If you try to activate Windows 7 on a different machine, it will not activate. However, Microsoft is actually very forgiving in this respect. If you are "no longer using Windows 7 on your Dell and have or plan to remove it", you can install your copy of Windows 7 in Parallels. When you try to activate it, activation will likely fail, but you will get the number to call Microsoft. It is basically an automated system. They will ask how many machines you currently have Windows 7 on (respond with one... for some reason, they don't like zero). The system will give you a new activation code.

Similar Messages

  • Parallels, bootcamp install question.

    I currently have parallels running on my macbook is osx. Question, can I still install bootcamp and have xp on partitioned drive. The reason I would like to do this is in case I want to play some games I can boot into bootcamp, plus it would allow computer to run cooler. I would like to leave parallels on osx partitioned drive to use xp to use Internet Explorer for work! Is this possible.

    the new parallels beta lets you run windows from a bootcamp windows install. (so you don't have to have windows installed twice.)
    http://www.parallels.com/products/desktop/beta_testing/

  • Measuremen​t, visualizat​ion and saving data in parallel: Performanc​e question

    Hello,
    I have written an application with 3 loops running in parallel.
    The first loop does only measure and analyze measurement values from a DAQmx device (3 analog input signals from 3 sensors with 1000 Hz).
    The second loop does only do the visualization with a graph per sensor continously. The data will be sent from the first loop through a queue.
    The third loop only saves the data to a file after a measurement has finished. The data will be sent at the end of a measurement from the first loop, too.
    There are 3 measurements running asynchronous.
    That means it could be that only one sensor will be read, but it also could be that 3 sensors will be read. The duration of each measurement phase and the beginning/end is asynchronous.
    Now I have the following problem:
    Measurement 1 starts
    A short time later measurement 2 starts
    Measurement 2 will end, the measurement values will be saved into a binary file
    Measurement 1 is still running but the visualization of measurement 1 stops for about 1 second during the saving process. After the data is saved, the visualization runs normally again (no data is lost because of the queue).
    Why does tha graph stop its visualization during the saving process (I have a dual core cpu)?
    How can I do this in a way, the user does not see any lags?
    It all works fine but the "interrups" look very unprofessional.
    Regards
    Matthias

    Hello,
    I'm using the producer/consumer pattern.
    Maybe it could be, that the dll calls I'm using for saving will interrupt the whole program: http://lavag.org/files/file/212-sqlite-labview/
    When I use the LabVIEW File-I/O vis all is fine. But when I use these database vis my application will lag.
    Any ideas why this is so? Could it be that the dll calls freeze the application during the saving process (LabVIEW 2011)?
    Here are thze dll settings:
    Attachments:
    dll_settings.PNG ‏50 KB

  • Using Apple Magic Mouse With Windows 7 64 bit and Parallels Desktop 8 questions

    I will be getting an iMac in the coming months and installing Parallels Desktop 8 and Windows 7 64 bit.
    I was wondering if I would have the functions of been able to left click, right click, scroll (preferably vertically but also occasionally horizontally) with the Apple Magic Mouse when I'm running Windows 7 through Parallels Desktop 8?
    I just wondered if anyone has installed Parallels Desktop 8 and Windows 7 and have you been able to do what i mentioned above and also have you come across any other issues, problems whilst using the Apple Magic Mouse on the Windows side?
    If there is any problems/issues with doing the above, is there anything I will need to do to get the above functionality to work?
    Thanks in advance.

    stz-42 wrote:
    I'm using Parallels 8 Win 7 64 bit, on an iMac.
    - leftclick and rightclick is working
    - i miss the middle button in my cad-software
    The same with the trackpad!
    Sometimes scrolling is a bit too fast, becuase Win 7 isn't made to use with the Magicmouse or trackpad.
    The only thing i miss / doesn't work ist the middle mouse button!
    Thanks very much for the help stz-42 its much appreciated.
    Providing I can left click, right click, scroll, then that's OK for me as I will be spending the vast amount of my time on the Mac side.
    Are you able to scroll both horizontally and vertically when using Parallels 8 Win 7 64 bit on your iMac?

  • Multiple servers in parallel export/import question

    Hello all,
    We plan to use parallel export/import using distribution monitor, and want to use several servers in export and also in import.
    The export_monitor.cmd.properties has FTP option ftphost, whic is the hostname of the import server, which looks like it will only use 1 application server (AS) from the source system and 1 in the AS in the target system -
    - is this true or can we use more AS in both export and import?
    - in the export, how to specify the AS to use?
    - in the export, how to specify more than 1 AS?
    - in the imprt, how to specify more than 1 AS ?
    Thanks,
    Terry

    You can use the Distribution Monitor for that purpose. Check note  855772 - Distribution Monitor
    Markus

  • Parallel processing - some questions

    Hi,
    I'm about to develop a class for task management.
    It should have methods like GET_TASK returning a taskid and task_return importing task_id received and possibly task_fail importing task_id sent with a bad sy-subrc when calling function with starting new task.
    The idea behind is: New task is started by system using a dialog process with time limit restriction applying. Thus I have to split the whole task into more small packets than processes available. So I think I have to use the same task again after it returned successfully.
    My assumption is I can't use more tasks than processes initially available and I can use the same tsak again after it has successsfully returned results.
    I want some ideas and information on that exceeding the SAP documentation.
    TIA.
    Regards,
    Clemens

    ... and here comes the program (no formatting available with the answer given with "solved".
    The programs retrieves billing documents with function BAPI_BILLINGDOC_GETLIST - this was the only BAPI I found quickly that has ranges as import parameters. This allows giving packages to the tasks.
    *& Report  ZZZPARTEST                                                  *
    REPORT  zzzpartest.
    PARAMETERS:
      p_dbcnt                                 TYPE sydbcnt DEFAULT 1010,
      p_pacsz                                 TYPE sydbcnt DEFAULT 95.
    CONSTANTS:
      gc_function                             TYPE tfdir-funcname
        VALUE 'BAPI_BILLINGDOC_GETLIST'.
    DATA:
      gt_bapivbrksuccess                      TYPE TABLE OF
        bapivbrksuccess,
      gv_activ                                TYPE i,
      gv_rcv                                  TYPE i,
      gv_snd                                  TYPE i,
      BEGIN OF ls_intval,
        task                                  TYPE numc4,
        idxfr                                 TYPE i,
        idxto                                 TYPE i,
        activ                                 TYPE flag,
        fails                                 TYPE i,
      END OF ls_intval,
      gt_intval                               LIKE TABLE OF ls_intval.
    START-OF-SELECTION.
      PERFORM paralleltest.
    *       CLASS task DEFINITION
    CLASS task DEFINITION.
      PUBLIC SECTION.
        CLASS-METHODS:
          provide
            RETURNING
              value(name)                     TYPE numc4,
          return
            IMPORTING
              name                            TYPE numc4,
          initialize
            RETURNING
              value(group)                    TYPE rzllitab-classname.
      PRIVATE SECTION.
        CLASS-DATA:
          gv_group                            TYPE rzllitab-classname,
          BEGIN OF ls_task,
          name                                TYPE numc4,
          used                                TYPE flag,
          END OF ls_task,
          gt_task                             LIKE TABLE OF ls_task.
    ENDCLASS.                    "itab DEFINITION
    ***       CLASS itab IMPLEMENTATION ***
    CLASS task IMPLEMENTATION.
      METHOD initialize.
        DATA:
          lv_max                              TYPE i,
          lv_inc                              TYPE numc7,
          lv_free                             TYPE i.
        CHECK gt_task IS INITIAL.
        SELECT classname
          INTO gv_group
          FROM rzllitab UP TO 1 ROWS
          WHERE grouptype                     = 'S'.
        ENDSELECT.
        CALL FUNCTION 'SPBT_INITIALIZE'
             EXPORTING
                  group_name                     = gv_group
             IMPORTING
                  max_pbt_wps                    = lv_max
                  free_pbt_wps                   = lv_free
             EXCEPTIONS
                  invalid_group_name             = 1
                  internal_error                 = 2
                  pbt_env_already_initialized    = 3
                  currently_no_resources_avail   = 4
                  no_pbt_resources_found         = 5
                  cant_init_different_pbt_groups = 6
                  OTHERS                         = 7.
        IF sy-subrc                           <> 0.
        MESSAGE ID sy-msgid                   TYPE sy-msgty NUMBER sy-msgno
                                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        SUBTRACT 2 FROM lv_free.
        IF lv_free >= 1.
          DO lv_free TIMES.
            ls_task-name                        = sy-index.
            APPEND ls_task TO gt_task.
          ENDDO.
          group                                 = gv_group.
          MESSAGE s000(r1)
            WITH
            'Parallelverarbeitung benutzt'
            lv_free
            'Prozesse in Gruppe'
            gv_group.
        ELSE.
          MESSAGE e000(r1)
            WITH
            'Parallelverarbeitung abgebrochen,'
            lv_free
            'Prozesse in Gruppe'
            gv_group.
        ENDIF.
      ENDMETHOD.                    "initialize
      METHOD provide.
        FIELD-SYMBOLS:
          <task>                              LIKE ls_task.
        IF  gv_group IS INITIAL.
          MESSAGE e000(r1)
            WITH 'Task group not initialized'.
        ENDIF.
        LOOP AT gt_task ASSIGNING <task>
          WHERE used IS initial.
          EXIT.
        ENDLOOP.
        CHECK sy-subrc                        = 0.
        <task>-used                           = 'X'.
        name                                  = <task>-name.
      ENDMETHOD.
      METHOD return.
        LOOP AT gt_task INTO ls_task
          WHERE
          name                                = name
          AND used                            = 'X'.
          DELETE gt_task.
        ENDLOOP.
        IF sy-subrc                           = 0.
          CLEAR ls_task-used.
          APPEND ls_task TO gt_task.
        ELSE.
    * fatal error
        ENDIF.
      ENDMETHOD.
    ENDCLASS.                    "itab IMPLEMENTATION
    *&      Form  paralleltest
    FORM paralleltest.
      DATA:
      ls_bapi_ref_doc_range                   TYPE bapi_ref_doc_range,
      lv_done                                 TYPE flag,
      lv_group                                TYPE rzllitab-classname,
      lv_task                                 TYPE numc4,
      lv_msg                                  TYPE text255,
      lv_grid_title                           TYPE lvc_title,
      lv_tfill                                TYPE sytfill,
      lv_vbelv                                TYPE vbelv,
      lv_npacs                                TYPE i,
      lt_vbelv                                TYPE SORTED TABLE OF vbelv
        WITH UNIQUE KEY table_line,
      lv_mod                                  TYPE i.
      FIELD-SYMBOLS:
        <intval>                              LIKE LINE OF gt_intval.
    * build intervals
      SELECT vbelv  INTO lv_vbelv
        FROM vbfa.
        INSERT lv_vbelv INTO TABLE lt_vbelv.
        CHECK sy-subrc = 0.
        ADD 1 TO lv_tfill.
        CHECK:
          p_dbcnt                             > 0,
          lv_tfill                            >= p_dbcnt.
        EXIT.
      ENDSELECT.
      DESCRIBE TABLE lt_vbelv LINES lv_tfill.
      IF (
           p_pacsz                            < p_dbcnt OR
           p_dbcnt                            = 0
          ) AND
           p_pacsz                            > 0.
    *        p_dbcnt                              > 0 ).
        lv_npacs                              = lv_tfill DIV p_pacsz.
        lv_mod                                = lv_tfill MOD p_pacsz.
        IF lv_mod                             <> 0.
          ADD 1 TO lv_npacs.
        ENDIF.
        DO lv_npacs TIMES.
          ls_intval-idxfr                     = ls_intval-idxto + 1.
          ls_intval-idxto                     = ls_intval-idxfr - 1
                                              + p_pacsz.
          IF ls_intval-idxto                  > lv_tfill.
            ls_intval-idxto                   = lv_tfill.
          ENDIF.
          APPEND ls_intval TO gt_intval.
        ENDDO.
      ELSE.
        ls_intval-idxfr                       = 1.
        ls_intval-idxto                       = lv_tfill.
        APPEND ls_intval TO gt_intval.
      ENDIF.
      WHILE lv_done IS INITIAL.
    * find an interval to be processed
        LOOP AT gt_intval ASSIGNING <intval>
          WHERE activ                         = space
            AND fails BETWEEN 0 AND  5.
          EXIT.
        ENDLOOP.
        IF sy-subrc                           <> 0.
    * no inactive unprocessed interval. All complete or must wait?
    * check for intervals with unsuccesful tries
          LOOP AT gt_intval ASSIGNING <intval>
            WHERE fails BETWEEN 0 AND  5.
            EXIT.
          ENDLOOP.
          IF sy-subrc                         = 0.
    * wait until all started processes have been received.
    * Note: No receive is executed without WAIT
            WAIT UNTIL gv_activ IS INITIAL UP TO 600 SECONDS.
          ELSE.
    * all done
            lv_done                           = 'X'.
          ENDIF.
          UNASSIGN <intval>.
        ENDIF.
    * process interval if provided
        IF <intval> IS ASSIGNED.
          WHILE lv_task IS INITIAL.
            IF lv_group IS INITIAL.
    * init parallel processing
              lv_group = task=>initialize( ).
            ENDIF.
    * get unused task
            lv_task                           = task=>provide( ).
            CHECK lv_task IS INITIAL.
    * no unused task? wait for all started task are received
            WAIT UNTIL gv_activ IS INITIAL UP TO 600 SECONDS.
          ENDWHILE.
    * call if task assigned
          CHECK NOT lv_task IS INITIAL.
    * prepare function parameters
          ls_bapi_ref_doc_range               = 'IBT'.
          READ TABLE lt_vbelv INTO ls_bapi_ref_doc_range-ref_doc_low
            INDEX  <intval>-idxfr.
          READ TABLE lt_vbelv INTO ls_bapi_ref_doc_range-ref_doc_high
            INDEX  <intval>-idxto.
    * mark interval as failed
          ADD 1 TO <intval>-fails.
          ADD 1 TO gv_snd.
          CALL FUNCTION gc_function
             STARTING NEW TASK lv_task
             DESTINATION                      IN GROUP lv_group
             PERFORMING bapi_receive ON END OF TASK
             EXPORTING
                refdocrange                   = ls_bapi_ref_doc_range
             EXCEPTIONS
               communication_failure          = 1 MESSAGE lv_msg
               system_failure                 = 2 MESSAGE lv_msg
               RESOURCE_FAILURE               = 3.
          IF sy-subrc                         = 0.
            <intval>-activ                    = 'X'.
            <intval>-task                     = lv_task.
            ADD 1 TO gv_activ.
          ELSE.
            CALL METHOD task=>return EXPORTING name = lv_task.
          ENDIF.
          CLEAR lv_task.
        ENDIF.
      ENDWHILE.
    * wait for pending processes
      MESSAGE s000(r1) WITH 'Wait for pending processes'.
      WAIT UNTIL gv_activ IS INITIAL.
    * report unfinished intervals
      LOOP AT gt_intval ASSIGNING <intval>
        WHERE fails >= 0.
        READ TABLE lt_vbelv INTO ls_bapi_ref_doc_range-ref_doc_low
          INDEX  <intval>-idxfr.
        READ TABLE lt_vbelv INTO ls_bapi_ref_doc_range-ref_doc_high
          INDEX  <intval>-idxto.
        MESSAGE i000(r1)
        WITH
        'Unverarbeitetes Intervall von'
        ls_bapi_ref_doc_range-ref_doc_low
        'bis'
        ls_bapi_ref_doc_range-ref_doc_high.
      ENDLOOP.
      MESSAGE s000(r1) WITH 'start ALV'.
    * transfer results to standard table
      WRITE gv_rcv TO lv_grid_title LEFT-JUSTIFIED.
      lv_grid_title+40(1) = '+'.
      WRITE gv_snd TO lv_grid_title+50 LEFT-JUSTIFIED.
      REPLACE '+' WITH 'RCV/SND' INTO lv_grid_title.
      CONDENSE lv_grid_title.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                i_structure_name = 'BAPIVBRKSUCCESS'
                i_grid_title     = lv_grid_title
           TABLES
                t_outtab         = gt_bapivbrksuccess.
    ENDFORM.                    " paralleltest
    *&      Form  bapi_receive
    FORM bapi_receive USING pv_task TYPE any.
      DATA:
        lv_task                               TYPE numc4,
        lt_bapivbrksuccess                    TYPE TABLE OF bapivbrksuccess,
        lv_msg                                TYPE text80,
        lv_subrc                              TYPE sy-subrc.
      FIELD-SYMBOLS:
        <intval>                              LIKE LINE OF gt_intval.
      CLEAR lt_bapivbrksuccess.
      RECEIVE RESULTS FROM FUNCTION gc_function
          TABLES
            success                           = lt_bapivbrksuccess
          EXCEPTIONS
            communication_failure             = 1 MESSAGE lv_msg
            system_failure                    = 2 MESSAGE lv_msg .
      lv_subrc                                = sy-subrc.
      lv_task                                 = pv_task.
      CALL METHOD task=>return EXPORTING name = lv_task.
      LOOP AT gt_intval ASSIGNING <intval>
        WHERE task = lv_task
        AND fails <> -1.
        EXIT.
      ENDLOOP.
      IF sy-subrc                             <> 0.
    * fatal error
        MESSAGE e000(r1)
          WITH 'returned task' lv_task 'not in task table'.
      ENDIF.
      CLEAR  <intval>-activ.
      CASE lv_subrc.
        WHEN 0.
          <intval>-fails                      = -1.
          APPEND LINES OF lt_bapivbrksuccess TO gt_bapivbrksuccess.
          ADD 1 TO gv_rcv.
        WHEN 1.
          ADD 1 TO <intval>-fails.
          WRITE: 'communication_failure for task', lv_task, lv_msg.
        WHEN 2.
          WRITE: 'system_failure', lv_task, lv_msg.
          ADD 1 TO <intval>-fails.
      ENDCASE.
      SUBTRACT 1 FROM gv_activ.
    ENDFORM.                    " bapi_receive
    Regards,
    Clemens

  • Parallels question. Does it share running software with Mac X.

    I never used parallel before, my question is does it share software running in windows xp/parallel with mac os.
    For example, When if I disable Mac Airport, and run & turn on internet in parallel windows. When I switch to back mac, will it be connect to internet, even airport is off?

    Airport is not software, and if you turned this off in one application, it would affect everything else.
    The following link will allow you to post questions directly to the manufacturer http://www.parallels.com/en/support/

  • Parallels and VPC

    I have a new MacBook Pro with Parallels and need to install Windows on it. I wrote to Parallels tech help and asked if there was any way to get the Windows out of my old VPC, that I used in my old iBook. Got an answer suggesting that I use Parallels transporter to move the whole VPC into Parallels. My question is: I hated VPC because it was so incredibly slow, and was hoping Parallels on my new computer would work faster. Has anyone tried this routine of copying a VPC machine into Parallels, using their transporter? I don't really quite understand this. Would it mean I would still have to use VPC and it would still be slow? If I buy and install a new version of Windows on Parallels, will it work better and faster? Thanks for any advice.
    <Post Relocated by Moderator>

    VPC was slow because it had to (literally) translate from PPC to Intel code and back again.
    Now that the Mac is Intel native, VPC is no longer necessary.
    Depending on how you bought VPC, it may or may not have shipped with a separate Windows installer CD, but I think it's old enough, it may not have SP2 in the installer.
    Parallels allows you to run windows in a window (just like VPC) but at Intel native speed. This allows easy data sharing between OS's
    Becasue your machine is Intel based, you can boot your machine directly to either Windows or OS X.
    If I understand the process, running windows through parallels will be slightly slower than booting direct to windows. (because windows will use all of both processors if booted directly; through parallels it does not do that.)

  • General question for LabVIEW+iMAQ application productivity

    We have received new biotech robotic system with LabVIEW control software. One of the software task is image recognition (robotic vision system). During images processing tasks memory is not used hard, but the CPU is always at 100 % utilization. Now the software is running at the computer with ordinary P4 2.4GHz.
    Question: is there any sense to use Xeon system or multiprocessors system for the images processing acceleration? How deep is the LabVIEW code optimized for the different processors?

    > We have received new biotech robotic system with LabVIEW control
    > software. One of the software task is image recognition (robotic
    > vision system). During images processing tasks memory is not used
    > hard, but the CPU is always at 100 % utilization. Now the software is
    > running at the computer with ordinary P4 2.4GHz.
    > Question: is there any sense to use Xeon system or
    > multiprocessors system for the images processing acceleration? How
    > deep is the LabVIEW code optimized for the different processors?
    The LV code isn't very optimized specific to different CPU
    architectures. A machine with bigger chip caches will probably give the
    biggest advantage.
    As for multiCPU, this really depends on how a LV diagram is written. I
    saw a presentat
    ion several years ago showing the gains a multiprocessor
    system would give you in a vision system. If the diagrams are written
    with parallelism in mind and the IMAQ VIs are made reentrant, the
    multiple was good, close to the number of processors. But of course, if
    there is no parallelism on the diagram, or the subVIs aren't reentrant,
    the other processors have little to work on.
    I'd ask the manufacturer of the biotech system if they have tried it or
    designed it to scale. If I'm misunderstanding and you bought it from
    NI, then I assume you have access to enough of the source code to make
    things reentrant and program for parallelism. If you have trouble
    writing your code for parallelism, ask more questions.
    Greg McKaskle

  • Parallels Desktop 4  - 32 or 64 bit version of Vista?

    Hello Folks!
    Anyone using Parallels Desktop 4 with Vista? What have you experienced with Vista and Parallels 4?
    QUESTION:
    Should I install the 32 or 64 bit version of Vista?
    I am on a new MacPro computer under OSX 10.5.6

    Their help files state that to install a 64 bit guest OS you need to have a intel core 2 processor.
    also in the help files it state that Windows Vista® (Business SP1, Enterprise SP1, Ultimate SP1 editions) are supported.
    The entry level of windows vista is not supported I guess because microsoft have forbidden its use in a virtual machine.

  • Distributed Query in-parallel?

    I tried to execute distributed query on three database machines. I hope it would be executed in-parallel. Unfortunately, I found I used 3 times of execution time with distirbuted query compare to search in only one node. Obviously, the query statement was processed one by one. (Data was distributed in three nodes averagely)
    Here is the example.
    select * from nemo.seven_dis_table
    union
    select * from [email protected] where rownum<=1000
    union
    select * from [email protected] where rownum<=1000
    With the docuemnt http://www.dba-oracle.com/t_opq_parallel_query.htm, this sql would be executed on two remote site in-parallel. My question is, why can not be executed in-parallel in my case? Is it really parallelism query?

    I'm by no means an expert in distributed queries, but having read through the document you linked and looking at your query, I think you're misunderstanding either distributed processing or the union statement.
    At the moment, all you're doing is getting data from three sources and then mashing it together with a costly union statement.
    If you put in UNION ALL instead, it would give you a better idea of how fast it retrieves data because it won't bother sorting and removing duplicated records.
    The idea behind distributed processing is that you can query a very large table on ONE database using multiple processors, not multiple databases on different servers....

  • Windows on Parallel, on new MacbookPro not working after migration assistant

    After I did migration assistant from my old macbook pro to my new macbook pro and formatted the old laptop, when I opened the Parallel I had on my laptop it told me that Windows in no longer a genuine software although I've been working with it on my previous macbook pro and it is a genuine windows..What can I do?
    I tried to retype my licence to reactivate windows but it wouldn't work!!
    PLease help..

    Did you, by any chance, make a backup of your old MBP on which there is still a copy of the Windows virtual machine? If so, try copying that over to the new MBP to replace the VM giving you trouble.
    Windows periodically checks the hardware configuration it's running on and if too many factors have changed, it puts up the complaint you're seeing. That may have been aggravated by how Migration Assistant transferred the VM file. I use VMware Fusion rather than Parallels and when a VM is moved to a new Mac, Fusion senses that and asks if the VM was moved or copied; if you answer copied, Fusion assigns a new MAC address to avoid network conflicts if both instances of the VM are running at the same time. But the new MAC address also triggers Windows to complain, as yours has. Does Parallels ask that question too, or does it, perhaps, just assume it's been copied? A more complete discussion of what you're running up against can be found here.

  • Have to partition HD for Parallels?

    Do I need to partition my hard drive to use Parallels?
    Simple question, sorry if it was asked before

    No, you don't need to partition your drive. Just run the Parallels installer and you will create a virtual hard drive the Windows will run in.
    http://www.parallels.com/en/products/desktop/

  • Two Threads Sharing the Same Object

    I am learning Java multithreading recently and I really hit the wall when I came to synchronizing data using the synchronized keyword. According to the explanation, synchronized will only work when 2 or more threads are accessing the same object. If there are accessing 2 different objects, they can run the synchronized method in parallel.
    My question now is how to make sure for synchronized method to work, I am actually working with the same and only one object??
    Imagine this:
    Two person with the same account number are trying to access the very ONE account at the same time.
    I suppose the logic will be:
    Two different socket objects will be created. When it comes to the login or authentication class or method, how can I make sure in term of object that the login/authentication class or method will return them only ONE object (because they share the same account), so that they will be qualified for using the synchronized method further down the road?
    Thanks in advance!

    Actually your understanding is wrong. Consider:
    public class MyClass {
      private int someInt;
      private float someFloat;
      private synchronized void someMethod(final int value) {
        if (value > 2000) someInt = 2000;
      private synchronized void someOtherMethod(final float value) {
        if (value > 2.0) someFloat = 1.999f;
    }YOu might think that two different threads can enter this code, one can enter in someOtherMethod() while one is in someMethod(). That is wrong. The fact is that synchronization works by obtaining synchronization locks on a target object. In this case by putting it on the method declaration you are asking for the lock on the 'this' object. This means that only one of these methods may enter at a time. This code would be better written like so ...
    public class MyClass {
      private int someInt;
      private float someFloat;
      private void someMethod(final int value) {�
        synchronized(someInt) {
          if (value > 2000) someInt = 2000;
      private void someOtherMethod(final float value) {
        synchronized(someFloat) {
          if (value > 2.0) someFloat = 1.999f;
    }In this manner you are only locking on the pertinent objects to the method and not on 'this'. This means that both methods can be entered simultaneously by two different threads. However watch out for one little problem.
    public class MyClass {
      private int someInt;
      private float someFloat;
      private void someMethod(final int value) {�
        synchronized(someInt) {
          if (value > 2000) {
            someInt = 2000;
            synchronized (someFloat) {
              someFloat = 0.0f;
      private void someOtherMethod(final float value) {
        synchronized(someFloat) {
          if (value > 2.0) {
            someFloat = 1.99999f;
            synchronized (someInt) {
              someInt = 0;
    }In this case you can have a deadlock. If two threads enter one of these methods at the same time one would be waiting on the lock for someInt and the other on the lock for someFloat. Neither would proceed. The solution to the problem is simple. Acquire all locks in alphabetical order before you use the first.
    public class MyClass {
      private int someInt;
      private float someFloat;
      private void someMethod(final int value) {�
        synchronized (someFloat) {
          synchronized(someInt) {
            if (value > 2000) {
              someInt = 2000;
              someFloat = 0.0f;
      private void someOtherMethod(final float value) {
        synchronized(someFloat) {
          if (value > 2.0) {
            someFloat = 1.99999f;
            synchronized (someInt) {
              someInt = 0;
    }In this manner one thread will block waiting on someFloat and there can be no deadlock.

  • Can I use a retina MBP for windows - MS Office development

    Hi,
    I'm a windows user doing a lot of development work in MS Excel-VBA.
    Because of the display I really would like to switch to the 13" retina MBP to do my daily work (using Parallels), but my question is whether it's really possible/advisable to work with Windows- MS Office 2010 on a retina machine? Does Excel (charts,forms...) behave well on the retina or would I run into too many formatting/display issues?
    I plan to use Parallels 8 and Win 7 or 8.
    Does anybody have experience on this?
    Greetings,
    BD

    I can't speak to teh display quality of Office for Windows 2010 on a Retina display, but I'm successfully running Parallels 8 with Windows XP and Office 2010 - no problems with VBA at all.
    But let's hear from the Retina owners - I wouldn't think that you'd have any problems.
    Clinton

Maybe you are looking for

  • Ibooke freezes when minimizing or using expose to show all windows

    I have a bought a refurbished ibook from the mac refurb site 2 weeks ago, no other hardware, and have only installed office 2004. It freezes often when several windows are open and i use expose to show all windows (approx 1 time in 2), and also when

  • What have my iPhone and iPad both suddenly quit connecting to the internet via wifi?

    My phone quit connecting to the internet even when connected to an internet enabled wifi network and then a few days later my iPad has quit. I have taken both to other locations where there are wifi networks available and they will not connect to the

  • CS3 Installation on Macbook Air Issues

    Trying to install CS3 on my Macbook Air. Click on set-up and nothing happens. Pops in the tray for a nano second then disappears. Mac OS X  10.6.8

  • [SOLVED] Symfony 2 , instalation and configuration....

    Hi Iv'e got a problem with Symfony app/check.php goes everything OK, but when i want to start "localhost/sym/web/app_dev.php" got an Error Whoops, looks like something went wrong. InvalidArgumentException: There is no extension able to load the confi

  • Materials not in integration model

    Something has happened in my R3/APO Development system where lots of Materials are not in any Integration Model.  They should be, and checking in our prod system they are. I've de-activated and re-activated Int Models but to no avail. How can I check